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.

Re: Delaunay and Java3D

Hi Desiree,

> I expierience often troubles with my coordinate systems.
> 
> Java3D has      x right
>                 y up
>                 z to the viewer
> 
> My world coordinates should be          x right rechts
>                                         y into the screen hoch
>                                         z up
> 
> Now I was wondering about DisplayImplJ3D.
> 
> The following is  a piece of code in my terrain-creating class, which is
> using VisAD:
> 
>         display = new DisplayImplJ3D("display1");
>         ScalarMap hoxmap = new ScalarMap(x, Display.XAxis);
>         ScalarMap reymap = new ScalarMap(y, Display.YAxis);
>         ScalarMap heightmap = new ScalarMap(height, Display.ZAxis);
> . . .
> In which direction are the Display.XAxis, Display.YAxis and Display.ZAxis
> looking of the DisplayImplJ3D?

With the default ProjectionControl matrix, XAxis, YAxis and
ZAxis are parallel to the Java3D x, y and z. So XAxis right,
YAxis up and ZAxis out of the screen.

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


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