Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Native OpenGL in Processing for Oculus Rift

$
0
0
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 to use those functions. 

mrzl

Viewing all articles
Browse latest Browse all 1768

Trending Articles