Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2013-12-13

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
23:00 pizthewiz Awesome, but it occurs on Windows still?
23:00 laserpilot probably?
23:01 laserpilot quicktime is not multithreaded
23:01 laserpilot friend of mine makes vdmx and they have to do some voodoo magic to get their video loading working quickly too
23:01 admsyn1 joined #openframeworks
23:44 ofarturo joined #openframeworks
23:53 ofarturo joined #openframeworks
23:59 lukaszw joined #openframeworks
23:59 ofarturo joined #openframeworks
00:03 nicedice joined #openframeworks
00:09 egradman joined #openframeworks
01:34 egradman joined #openframeworks
01:41 robot joined #openframeworks
02:51 pizthewiz joined #openframeworks
03:34 egradman joined #openframeworks
04:53 pizthewiz joined #openframeworks
06:41 pizthewiz joined #openframeworks
07:33 pizthewiz joined #openframeworks
07:34 LCID_Fire joined #openframeworks
07:46 LCID_Fire joined #openframeworks
07:49 egradman joined #openframeworks
08:27 ofarturo joined #openframeworks
08:31 jacres joined #openframeworks
09:15 jonbro joined #openframeworks
10:13 jonbro joined #openframeworks
11:50 okjake joined #openframeworks
12:16 roxlu hi guys, I have some pure GL 3.2 code which runs good with GLFW but when I use OF it doesnt... can't directly see where it goes wrong as stuff is mostly shader based.
12:16 roxlu Are there any things I could look into?
12:16 roxlu I'm setting ofSetCurrentRenderer(ofGLPr​ogrammableRenderer::TYPE);   already in main
12:25 ofarturo roxlu, what problems are you having? errors?
12:26 roxlu I'm using GL_RGBA32F textures to perform FFT using shaders and the generated buffers contain invalid data
12:26 roxlu it must be something with how OF setps up the GL context.. I think it's sets up a GL 3.2 CORE PROFILE with forward compat. by default
12:27 roxlu But when I run my app through OpenGL-Profiler I get this error directy:
12:27 roxlu https://gist.github.com/roxlu/17365b535748d2d6995d
12:27 roxlu which might cause it
12:28 ofarturo mmh but that's in the initialization of the window is it crashing?
12:28 roxlu no it's not crashing, it runs, window is opened
12:29 roxlu but my buffers are invalid
12:29 roxlu when an GL error is spawned it results in undefined behavior
12:29 roxlu (esp. on mac)
12:29 ofarturo are you calling setCurrentRenderer before calling setupOpenGL?
12:30 roxlu yes
12:30 roxlu first line in main(){..}
12:30 roxlu If this might help, this is my GLFW based test: https://gist.github.com/roxlu/07e913​27cd247ea3b3fa#file-main-cpp-L36-L40
12:33 ofarturo the setup is the same as OF, i don't understand the stack trace you posted before though, it's just the initialization of the window but i see no errors?
12:34 roxlu oh sorry wrong paste .. can you reload?
12:36 ofarturo what's line 227 for you? we've changed ofAppGLFWWindow and it's now a different function
12:36 roxlu Ah, I'm using 0.8.0 from the site
12:37 roxlu (but it's not doing a glGetString there)
12:37 roxlu I can test with master
12:37 * roxlu cloning now
12:38 ofarturo don't think that part has changed although we've updated glfw to latest version
12:38 roxlu ok great
12:38 * roxlu fingers crossed
12:38 ofarturo what do you have in that line anyway? i think it might be related to the pixel format hints
12:39 roxlu yeah, they have a value of 8
12:39 roxlu I think that's default fo GLFW
12:39 roxlu this is line 227: https://gist.github.com/roxlu/0c7577c13b​8d6af345f9#file-ofappglfwwindow-cpp-L227
12:41 ofarturo i would try comenting this lines out:
12:41 ofarturo https://gist.github.com/roxlu/0c7577c13b8d6​af345f9#file-ofappglfwwindow-cpp-L143-L148
12:41 ofarturo it's the only difference i see with your code and seems related to the error
12:41 roxlu I tried that indeed, didn't solve it
12:43 roxlu I think an updated version of GLFW might work
12:43 roxlu that's the biggest difference atm what I can see
12:43 ofarturo mmh, well try with latest with master but it's weird, it could be something with glew trying to setup the GL extensions, are you running in release? seems to me like the stack trace is being optimized
12:43 roxlu ah! yes probably glew then
12:44 roxlu I've experienced wierd things with GLEW and vertex array objects
12:44 roxlu I haven't found what exactly went wrong with GLEW and VAOs but my guess was that it was setting function pointers wrongly
12:45 roxlu is there a way of disabling glew?
12:46 ofarturo you could try deleting it and removing all references from the core, there's some extensions we use that requires it but it's probably easier using opengl 3+
12:48 roxlu ok
12:48 roxlu I'm compiling with a fresh clone of OF now
12:50 egradman joined #openframeworks
12:51 roxlu :( nope master gives exactly the same result
12:56 roxlu ofarturo really appreciate your help!
13:06 ofarturo can you run in debug and post the stack trace? it might be easier to know what's going on
13:07 ofarturo but yes, it seems related with glew, perhaps try compiling a newer version we haven't updated glew in a while
13:35 okjake joined #openframeworks
14:59 laserpilot joined #openframeworks
15:03 LCID_Fire joined #openframeworks
15:17 lukaszw joined #openframeworks
15:37 dantheman joined #openframeworks
15:38 quad0 joined #openframeworks
15:50 egradman joined #openframeworks
16:17 pizthewiz joined #openframeworks
16:38 nicedice joined #openframeworks
16:55 jonbro joined #openframeworks
16:56 admsyn joined #openframeworks
16:57 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/
17:12 laserpilot joined #openframeworks
17:14 fakelove joined #openframeworks
17:14 vlt joined #openframeworks
17:58 ofarturo joined #openframeworks
17:59 egradman joined #openframeworks
18:31 egradman joined #openframeworks
18:49 jonbro joined #openframeworks
19:27 egradman joined #openframeworks
19:35 pizthewiz joined #openframeworks
20:01 jedahan joined #openframeworks
20:20 fakelove joined #openframeworks
20:20 egradman joined #openframeworks
20:50 egradman left #openframeworks
21:08 jedahan joined #openframeworks
21:29 lukaszw joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary