stereo library in opengl 2.0+
in
Library and Tool Development
•
1 year ago
Hi,
I'm trying to adapt a stereo library created in processing 1.5 for processing 2.0, since my sketch is too slow in processing 1.5 but I'm having a hard time trying to figure out what to change since openGL libraries are changed.
Here's the code for the two main classes:
old version:
http://pastebin.com/gWmK0YVc
http://pastebin.com/4Cnjuu2d
"new" version:
http://pastebin.com/8Fq7jSzX
http://pastebin.com/C0n3A8PM
Can someone help me?
By now I get an NPE exception and a "Already called beginDraw()" message, but I can't find out what triggers it.
Thanks.
I'm trying to adapt a stereo library created in processing 1.5 for processing 2.0, since my sketch is too slow in processing 1.5 but I'm having a hard time trying to figure out what to change since openGL libraries are changed.
Here's the code for the two main classes:
old version:
http://pastebin.com/gWmK0YVc
http://pastebin.com/4Cnjuu2d
"new" version:
http://pastebin.com/8Fq7jSzX
http://pastebin.com/C0n3A8PM
Can someone help me?
By now I get an NPE exception and a "Already called beginDraw()" message, but I can't find out what triggers it.
Thanks.
1