Re: immersive flythrough

Hi Doug,
 
For a DisplayImplJ3D, double[] matrix has 16 elements and
is organized as the argument to:
 
  javax.media.j3d.Transform3D(double[] matrix)
 
We have recently seen the behavior you describe, where the
projection snaps back when you click the mouse.  It is caused
by:
 
  ProjectionControlJ3D pc = new ProjectionControlJ3D(display);
 
Try this instead:
 
  ProjectionControlJ3D pc = display.getProjectionControl();
 
The next update of VisAD will test for the former and throw an
Exception (basically, you've got a DisplayImplJ3D with two
ProjectionControlJ3Ds, one for the mouse and one you control).
 
Good luck,
Bill\
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
whibbard@xxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html
 

  • 1999 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: