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.05 | RAThomas | Only 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.21 | Rounin | Hi! 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.00 | Rounin | I can see that bzflag has this resetState() method, but obviously that's not going to be in glxgears |
16:13.43 | Patlabor221 | yeha we don't use glut |
16:13.47 | Patlabor221 | so that won't be called |
16:13.48 | Rounin | I 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.16 | Patlabor221 | we ask SDL to swap buffers then it uses the OS specific swap function |
16:14.36 | Patlabor221 | probalby xglSwapBuffers or something |
16:14.42 | Patlabor221 | on linux |
16:14.48 | Rounin | Ah! Perhaps that would be the way to go... Just hook each and every swapBuffers-function in existence :P |
16:14.58 | Rounin | One for Mac OS, one for SDL, etc. etc. |
16:15.03 | Patlabor221 | or just look at he source for SDL |
16:15.06 | Patlabor221 | SDL is a wraper |
16:15.10 | Patlabor221 | it calls the OS ones |
16:15.20 | Rounin | Great idea... Thanks! |
16:15.22 | Patlabor221 | one for OSX, one for linux |
16:15.28 | Patlabor221 | we don't use SDL on windows |
16:16.20 | Rounin | Ah well, Windows already has software for what I'm trying to do anyway |
16:16.33 | Rounin | Iz3d and that nVidia driver, at least... |
16:16.51 | Patlabor221 | yeah there are many graphic language level debuggers |
16:27.39 | Patlabor221 | my 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.32 | Rounin | Hm... I managed to get a glXSwapBuffers out of both my own tutorial applications and glxgears, but not bzflag, haha |
16:36.41 | Rounin | I'd better see what my SDL backend is |
16:37.24 | Rounin | Perhaps it's using eglSwapBuffers or some sort of Ubuntu magic |
16:40.09 | Rounin | WHat a fun programming exercise though... Poking around in processes and hooking their functions |
16:40.24 | Rounin | I had no idea it was as easy as a few lines of C and LD_PRELOAD |
16:42.25 | Patlabor221 | yeah that's how debuggers work |
16:43.10 | Rounin | Ah, 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.03 | Patlabor221 | just capture the SDL call, you don't care about the low level one, just that a frame was called |
16:46.49 | Rounin | Yes... Though some applications don't use SDL of course |
16:47.11 | Patlabor221 | you are trying to make a generic GL debuger? |
16:47.57 | Rounin | I thought I might try to get anaglyph 3D out of some applications, though not necessarily all applications... It's just for amusement |
16:48.07 | Rounin | And of course bzflag has that already |
16:48.13 | Patlabor221 | ahhh |
17:02.16 | Rounin | There we go... SDL_GL_SwapBuffers() |
17:02.31 | Rounin | I have to go in a hurry, but thanks so much for the advice! :) |
17:04.31 | Patlabor221 | sure |
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 |