Hi,

I haven't been able to figure out how to use HMD mode correctly. I'd like to
use a sensor that is attached to the head. I don't like the way the virtual
input device provided in the example directory is connected to the head
using the sensor update class. Reading the manual there is a function that
should allow me to attach to the HMD:


     Viewer viewer = universe.getViewer();
     viewer.getView().setTrackingEnable(true);
     viewer.getView().setMonoscopicViewPolicy(View.LEFT_EYE_VIEW);
     viewer.getView().setViewPolicy(View.HMD_VIEW);

     viewer.getPhysicalEnvironment().addInputDevice(tracker);
     viewer.getPhysicalEnvironment().setSensor(0, sensor);
     viewer.getPhysicalEnvironment().setHeadIndex(0);


This however does not seem to work. Any ideas how to use the HMD, any
example code I can borrow?

Rob

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