Although I agree with Mark Hood...I would also like to add that I had
issues with different desktop colors. I completely reinstalled Win2000
and Java 1.2 and Java3D 1.3 and I had some wierd z-clipping issues. It was
not until I changed the colors from 16 bit to 32 bit did things fix
themselves.

So, that's a hint...if you have z-clipping issues, check what your
resolutions
are and also maybe check the colors menu right next to the resolutions
menu in windows.

   Mario

Mariusz Zaczek
NASA - Johnson Space Center
Automated Vehicles and Orbit Analysis / DM35
Flight Design and Dynamics Division
Mission Operations Directorate
Bldg: 30A     Room: 3040A
Phone(W): 281-244-6650
Phone(H): 832-385-3860

Disclaimer: "The opinions, observations and comments expressed in my email
             are strictly my own and do not necessarily reflect those of
NASA."




-----Original Message-----
From: Joerg 'Herkules' Plewe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 5:27 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] has Z-clipping anything to do with desktop
resolution????


Hi Community!

Strange things going on.....

Our app uses a 800x600 canvas and configures Z-clipping to

  mView.setFrontClipDistance( 1 );
  mView.setBackClipDistance( 4500 );

Now I placed a Text2D in front of my camera. I didn't know why, but I had to
give a Z-value < -5.538 (we are looking to -Z) in order to make it display.
Putting it nearer to the camera, it gets clipped away. I didn't understand
that, bc. I set the FrontClipDistance to 1, but ok.

The miracle: I used to do this with a desktop resolution of 1280x1024. If I
now reduce desktop resolution to lets say 1024x768, the Text2D vanished!! If
I push it farther away, it appears again???

Here is a table of desktop resolutions and approx. minimal Z-distances:

1280x1024  -5.6
1152x864    -6.2
1024x768    -7.0


What the hell does the desktop resolution have to do with Z-clipping???? My
Canvas3D always is 800x600, View settings always the same, no changes in
aspect ratio. Desktop bitdepth (I tried 32 and 16) doesn't matter neither.

Environment: XP, JDK1.4.1, Java3D 1.3/DirectX

Anybody has a clue?

Thanks,

- J

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

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