I think I have Java3D working with my HMD now.
To get it working, I used two Canvas3D's one
for the left eye and one for the right eye.

The code snippet is:
    public BasicRecipeJ3D() {
...
        Canvas3D rc = new Canvas3D(gc);
        Canvas3D lc = new Canvas3D(gc);

        rc.setMonoscopicViewPolicy(View.LEFT_EYE_VIEW);
        lc.setMonoscopicViewPolicy(View.RIGHT_EYE_VIEW);
          add(rc);
        add(lc);

       universe = new VirtualUniverse();
       ocale = new Locale(universe);
         PhysicalBody body = new PhysicalBody();
         PhysicalEnvironment environment = new PhysicalEnvironment();


         view = new View();

         view.addCanvas3D(rc);
         view.addCanvas3D(lc);

...
}

My questions are the following:

1) Is the two canvas solution the preferred way to do HMD?
Remember, a HMD is like two monitors.  We use the Virtual
Research V8.  We set up the PC (Windows 2000) for dual
monitors.

2) What is the use of view.setViewPolicy(View.HMD_VIEW);?

Thanks--

Alex

===========================================================================
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