Let's just preface this by saying that I've just started using GL4Java,
(and GL in general for that matter), so chances are I'm just missing
something small and stupid. With that being said, here's my problem:
I'm attempting to create a program that uses the stereoscopic
capabilities of my setup (Geforce3, NVidia drivers, DTI 2015XLS 3d
display). I've tested the provided programs with the display, and a
couple of D3D and OpenGL apps, and the stereoscopic mode seems to work
fine in them. However, I can't get a stereoscopic canvas using GL4Java. :(
I've basically just taken Roman Podobedov's simple rotating cube applet,
and I'm trying to get it to display in stereo mode. I've added
stereoView = true; to his canvas' preinit, and done the following in the
main applet when creating to canvas to try and ensure that it is at
least stereo capable:
GLCapabilities Settings = new GLCapabilities();
System.out.println("Requiring stereoscopic capabilites...");
Settings.setStereo(true);
glmain = new MainGL(Settings, 640, 480); // Create our GL object
However, upon checking capabilities after, it has not been created
stereoscopic capable. I'm not really sure where the proper place is to
even be doing this, so I figured I'd better ask.
Any suggestions are greatly appreciated.
Graeme
|