If I remember correctly, the last time we did this we did a "setStereoEnable(true)" on
the Canvas3D.
Note that this works under Solaris, but does not work yet under Windows.
Steve
Mike Karlesky wrote:
> 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/
--
Steve Pietrowicz - [EMAIL PROTECTED] Project Manager - NCSA Java 3D Group
NCSA Portfolio: http://havefun.ncsa.uiuc.edu/Java3D/portfolio/
New Beta 2a release! New Loaders, record and replay of your
Java 3D apps and more! Freely available for non-commercial use!
You Build It VR: http://havefun.ncsa.uiuc.edu/Java3D/YouBuildItVR/
Build your own multi-user virtual worlds with no programming experience!
The Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
Java News Network: http://tintoy.ncsa.uiuc.edu/~srp/java/javanews.html
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/