IRC log for #bzflag on 20141101

06:06.09*** join/#bzflag Snake12534 (635cd32e@gateway/web/cgi-irc/kiwiirc.com/ip.99.92.211.46)
07:26.53*** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535)
07:29.36*** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535)
07:50.26*** join/#bzflag I_Died_Once (~I_Died_On@2601:5:9880:327:5558:eb93:4fd2:47b8)
07:50.26*** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535)
09:33.03*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
12:11.42*** join/#bzflag zuii (~akos@188.6.189.75)
13:09.50*** join/#bzflag zlsa (~zlsa@static-205-157-147-198.ded.unwiredbb.net)
13:32.45*** join/#bzflag RAThomas (~chatzilla@r74-195-236-7.stl1cmta01.stwrok.ok.dh.suddenlink.net)
13:33.05RAThomasOnly 7 people playing bz right now.  
14:58.26*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
15:31.53*** join/#bzflag Patlabor221 (~JeffM@2605:e000:7d02:c700:4be:f3c4:748:56a)
15:33.03*** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535)
15:41.36*** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535)
16:08.47*** join/#bzflag Rounin (17572@rubin.ifi.uio.no)
16:12.21RouninHi! I just created a wrapper that links with an application and tries to see if it's drawing a frame, by looking for glFlush, glFinish and glutSwapBuffers, but I noticed that neither bzflag nor glxgears seem to be calling any of those... Is there no standard function that's guaranteed to be called when a frame is "done" so to speak
16:13.00RouninI can see that bzflag has this resetState() method, but obviously that's not going to be in glxgears
16:13.43Patlabor221yeha we don't use glut
16:13.47Patlabor221so that won't be called
16:13.48RouninI thought I'd try to get arbitrary applications to display anaglyphic 3D, though I know bzflag supports it already of course... That was part of my inspiration to begin with
16:14.16Patlabor221we ask SDL to swap buffers then it uses the OS specific swap function
16:14.36Patlabor221probalby xglSwapBuffers or something
16:14.42Patlabor221on linux
16:14.48RouninAh! Perhaps that would be the way to go... Just hook each and every swapBuffers-function in existence :P
16:14.58RouninOne for Mac OS, one for SDL, etc. etc.
16:15.03Patlabor221or just look at he source for SDL
16:15.06Patlabor221SDL is a wraper
16:15.10Patlabor221it calls the OS ones
16:15.20RouninGreat idea... Thanks!
16:15.22Patlabor221one for OSX, one for linux
16:15.28Patlabor221we don't use SDL on windows
16:16.20RouninAh well, Windows already has software for what I'm trying to do anyway
16:16.33RouninIz3d and that nVidia driver, at least...
16:16.51Patlabor221yeah there are many graphic language level debuggers
16:27.39Patlabor221my guess is on linux it's glXSwapBuffers and on OSX it's aglSwapBuffers
16:33.23*** join/#bzflag death__ (~I_Died_On@2601:5:9880:327:bd77:45cd:762:4e0)
16:36.32RouninHm... I managed to get a glXSwapBuffers out of both my own tutorial applications and glxgears, but not bzflag, haha
16:36.41RouninI'd better see what my SDL backend is
16:37.24RouninPerhaps it's using eglSwapBuffers or some sort of Ubuntu magic
16:40.09RouninWHat a fun programming exercise though... Poking around in processes and hooking their functions
16:40.24RouninI had no idea it was as easy as a few lines of C and LD_PRELOAD
16:42.25Patlabor221yeah that's how debuggers work
16:43.10RouninAh, and now that I think about it, of course bzflag isn't calling glXSwapBuffers, because it's calling SDL, which does it... So I just need to add a special case for SDL
16:45.03Patlabor221just capture the SDL call, you don't care about the low level one, just that a frame was called
16:46.49RouninYes... Though some applications don't use SDL of course
16:47.11Patlabor221you are trying to make a generic GL debuger?
16:47.57RouninI thought I might try to get anaglyph 3D out of some applications, though not necessarily all applications... It's just for amusement
16:48.07RouninAnd of course bzflag has that already
16:48.13Patlabor221ahhh
17:02.16RouninThere we go... SDL_GL_SwapBuffers()
17:02.31RouninI have to go in a hurry, but thanks so much for the advice! :)
17:04.31Patlabor221sure
17:18.28*** join/#bzflag Patlabor221 (~JeffM@107-209-61-105.lightspeed.irvnca.sbcglobal.net)
19:59.56*** join/#bzflag dngor (abuse@p3m/dngor)
20:25.58*** join/#bzflag dngor (~abuse@p3m/dngor)
20:31.01*** join/#bzflag dngor (~abuse@p3m/dngor)
20:35.37*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
20:38.22*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
21:03.01*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
21:30.39*** join/#bzflag khazhyk (~khazhyk@unaffiliated/khazhyk)
22:53.36*** join/#bzflag zuii (~akos@BC06BD4B.catv.pool.telekom.hu)
23:07.13*** join/#bzflag Patlabor221 (~JeffM@2605:e000:7d02:c700:b165:46fa:63a4:e74a)
23:48.41*** join/#bzflag joevano (~joevano@bzflag/developer/JoeVano)
23:48.41*** mode/#bzflag [+v joevano] by ChanServ
23:49.18*** join/#bzflag spldart (d03653a9@bzflag/contributor/spldart)
23:49.32*** mode/#bzflag [+v spldart] by ChanServ

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.