This following is the basic gist from the page:

http://www.j3d.org/faq/howto.html#stereo

from the Java 3D FAQ. (Commercial: at it's new home at
http://www.j3d.org)!!)   Using it will let your app use stereo if the
hardware supports it.

It's recommended that you set the following when passing to Canvas3D:

GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();


if (myApplicationWantsStereo)
     template.setStereo(template.PREFERRED);

// Get the GraphicsConfiguration that best fits our needs.
GraphicsConfiguration gcfg =
       GraphicsEnvironment.getLocalGraphicsEnvironment().
              getDefaultScreenDevice().getBestConfiguration(template);

And pass "gcfg" to Canvas3D, instead of null.

As the web page states, you'll setill need to do setStereoEnable(true)
later, to actually turn on the stereo image.


Bob Gray wrote:

>
>
> When I start my Java 3D app using appletviewer (using Java 2 V1.3,
> Java 3D 1.2)
> I get
>
> "WARNING: Canvas3D constructed with a null GraphicsConfiguration."
>
> I never use to get this message.  I setup my SimpleUniverse with
>
>     Canvas3D canvas3D = new Canvas3D(null);
>     simpleU = new SimpleUniverse(canvas3D);
>
> Should I do something about this?  If so, what?  If I don't will it
> cause problems?
>
> Bob Gray

--
Steve Pietrowicz - [EMAIL PROTECTED]

J3D.org:      http://www.j3d.org

NCSA Portfolio 1.3 beta 3:  http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/
   New Loaders, turn your Canvas3D into a JPEG, new InputDevices and more!
   Freely available for non-commercial use!
You Build It VR:     http://www.ncsa.uiuc.edu/~srp/Java3D/YouBuildItVR/
   Build your own multi-user virtual worlds with no programming experience!
Astro3D: Java 3D Astronomy - http://www.ncsa.uiuc.edu/~srp/Java3D/Astro3D/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to