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