IRC logs of Libera.Chat #BZFlag for Wednesday, 2024-02-28

*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag00:20
*** disco <disco!~disco@81.187.95.100> has joined #bzflag00:58
*** FastLizard4 is back02:41
BZNotifybzflag: vien2024 opened issue #342 "Potential buffer overflow in RecordCommand() function in bzfs module" (https://github.com/BZFlag-Dev/bzflag/issues/342)03:08
*** FastLizard4 is now away: AWAY from keyboard03:55
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 240 seconds)04:28
*** FastLizard4 is back04:30
*** FastLizard4 is now away: AWAY from keyboard05:36
*** FastLizard4 is back07:53
*** FastLizard4 is now away: IN-GAME - The Talos Principle 207:54
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:21
blast007this use of bz_ChatEventData_V2 appears to be completely pointless, right?  https://github.com/BZFlag-Dev/bzflag/blob/2.4/src/bzfs/bzfs.cxx#L5056-L507410:37
blast007years ago, we had actually called the event in there, but we moved that elsewhere10:38
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag10:58
*** FastLizard4 is back12:19
*** FastLizard4 is now away: AWAY from keyboard12:23
bz-nextthat does look pointless12:28
*** FastLizard4 is back12:37
*** FastLizard4 is now away: AWAY from keyboard12:44
bz-nexthttps://github.com/bz-next/bz-next/blob/development/misc/tank.blend If anyone wants a blender model of the tank logically separated into the pieces that the game cares about12:48
*** FastLizard4 is back12:56
bz-nexthttps://i.imgur.com/FG5N6Xv.png now it's fully imported. Basically, there is a tank object builder, and you can set playerID, team, and the draw/animation groups to add it to, then generate the tank13:19
bz-nextthe tank itself is a composite object, made up of barrel, turret, left/right casings, three separate wheels on each side, and the body, so it can be exploded and animated easily13:21
bz-nextEach tread for each player gets a separate material with a separate texture matrix for tread animation. Wheels will just be rotated.13:28
*** FastLizard4 is now away: AWAY from keyboard13:40
bz-nextyou can watch tanks drive around now, I just have to wire up the appropriate driving and explosion animations13:58
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)14:11
bz-nexthttps://i.imgur.com/pZo9hwE.png14:14
SpringTankI wonder if you could use replay data to do automatic animations?16:52
bz-nextafaik replays should just work but I haven't tried it yet18:28
bz-nextit'd be neat if there was a way to export animation data to blender or something, but I imagine there'd be a lot of work in that18:32
*** disco <disco!~disco@81.187.95.100> has quit IRC (Remote host closed the connection)18:41
bz-nextOn another note, I was thinking, it might be nice to integrate doxygen into the codebase, it could create at least some documentation automatically and it'd be easier to add stuff, since you could just add comments18:41
bz-nextpersonally, I feel like the advantage is marginal, since with a good editor these days you get a lot of instrumentation, but some people do like having docs, and it would be easy18:42
bz-nextthis whole time I thought tankIDLNode meant something like IndexedDisplayListNode... turns out it's "interdimensional lights node" and it's not used...20:56
blast007heh22:09
blast007you sure it's not used?22:10
blast007it's added when showTreads is enabled22:12
bz-nextthanks for reminding me that I can never be sure of anything23:11
bz-nextI think I'll have all the basic tank animations (squishing, resizing, treads and wheels, color and team changes) working today. Jump jets and other billboards I'll handle later. Lights-wise, I'd like to try making all lights world lights for simplicity and because it'd probably be an improvement23:14
bz-nextbut that will be part of the multi-stage rendering idea23:14
bz-nextthe way bullet lighting works now (from what I've overheard) sounds really complicated and I'd like to avoid the complexity and limitations of it23:15
bz-nextsomething about subdividing walls and then vertex coloring them?23:16
bz-nexthttps://learnopengl.com/Advanced-Lighting/Deferred-Shading essentially following this tutorial and implementing the necessary support stuff to allow this sort of process to happen23:19
bz-nextit'd be cool too because then the entire scene can be rendered to a cursed ImGUI window, lol23:21
bz-nextfor all the players that can't get enough of ImGUI and want to play the game like that23:21
*** FastLizard4 is back23:21
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag23:23
bz-nextthe current code does a tonne of math to try to figure out how to animate treads and wheels, and despite all that, I don't think it actually works right. If you follow a tank in observer, the treads and wheels look like they are going way too fast23:37
bz-nextIf there's a value that works mostly right for a given tank model, it should just be baked into the code rather than trying to calculate it based on an abstract idea of what the tank mesh looks like, since I feel that is doomed to failure. Especially if the mesh ever changes23:42

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!