NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Jack, > We are attempting to use a VisAD app we wrote in an VR environment here at > Penn State. After working > with IRIX java3d we decided to use NT to drive the VR environment. My > question is how do I access the > View object to do the following in VisAD? > > u = new SimpleUniverse(canvas3d); > > PhysicalBody myBody = u.getViewer().getPhysicalBody(); > > u.getViewer().getPhysicalEnvironment().addInputDevice( > device ); This should work: DisplayImplJ3D display = new DisplayImplJ3D(...); DisplayRendererJ3D dr (DisplayRendererJ3D) display.getDisplayRenderer(); View view = dr.getView(); Please let me know if you have any questions or problems with this. Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: