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:
What the hell does the desktop resolution have to do with Z-clipping?
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?