Native OpenGL in Processing for Oculus Rift
in
Core Library Questions
•
5 months ago
Hey everybody,
I'm currently working with the Oculus Rift in Processing and want to port this code to work with Processing for now:
http://pastebin.com/LVfpwXWV .
I got it ported, the only functions I can't access within processing are those functions which are part of LWJGL:
GL30.glGenFramebuffers()
GL11.glGenTextures()
GL30.glGenRenderbuffers()
Calling those functions i got the following error.
"No OpenGL context found in the current thread."
Since i'm not an expert at all regarding OpenGL and its processing integration somebody else maybe has got a hint how to use those functions. :)
mrzl
2