IRC logs of Libera.Chat #BZFlag for Wednesday, 2021-12-22

*** 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)03:36
macsformeso on the M1 issue, I made a simple map with a basic box and a basic meshbox side-by-side... driving into the plain box does not exhibit the issue, while driving into the meshbox does... it cut the framerate to around 14 FPS03:45
macsformeso it seems related to the meshbox, and not necessarily to the drawinfo03:46
macsformeI'm accepting any suggestions for how to approach the diagnosis :-) I know blast007 already pointed to an area of code that could be disabled, for starters03:47
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:46
*** DTRemenak <DTRemenak!~DTRemenak@c-76-120-133-82.hsd1.wv.comcast.net> has quit IRC (Ping timeout: 240 seconds)09:27
blast007so I'm difference I'm seeing visually is that the meshbox doesn't get the colored triangles11:11
blast007so one difference*11:53
blast007macsforme: you could try adding this to the config.h to see if there's any performance difference in either the box or meshbox.  It seems to disable the colored triangles here and add a static node instead of a dynamic node (which I'm not yet clear what that means - maybe dynamic is what adds the triangles)12:10
blast007#define SHELL_INSIDE_NODES 112:10
blast007also, just a wild guess, but I do see that EighthDimShellNode, which is used for mesh objects, does call glLineWidth to make a thicker line.  I had recently read that OpenGL implementations aren't required to support wider line widths, so I'm just wondering if that's triggering some weird issue with their driver.  I don't think we use wider lines elsewhere normally.  Seems like we might when ...12:22
blast007... drawing the friendly tank markers or when using some of the debugging graphics modes.12:22
blast007If that is the issue, add the dfine I mentioned above should also trigger the issue for normal boxes since it makes it also use the shell nodes instead of scene nodes12:23
blast007adding the define*12:23
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag15:11
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag15:30
*** DTRemenak <DTRemenak!~DTRemenak@c-76-120-133-82.hsd1.wv.comcast.net> has joined #bzflag15:40

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