Hello All,

I am attempting to play with the stereoscopic capabilities of Java 3D.
I've been trying to modify the HelloUniverse example. I have the 3D
hardware to display the image, but I keep running into static reference
errors. I can't seem to figure out how to properly reference the necessary
objects and methods to enable the stereo capabilities.

Could someone please give some hints or examples? Thanks in advance...


My incorrect code:

public HelloUniverse() {
  setLayout(new BorderLayout());

  GraphicsConfigTemplate3D configTemplate = new GraphicsConfigTemplate3D();
  configTemplate.setStereo(GraphicsConfigTemplate.REQUIRED);

  GraphicsConfiguration config = 
GraphicsEnvironment.getDefaultScreenDevice().getBestConfiguration(configTemplate);

  Canvas3D c = new Canvas3D(config);
  add("Center", c);

 ...snip...


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to