Hello!

I am coding the solar system as a Java 3D model and
have to incorporate huge bodies like our sun (radius
700,000 km) and earth (distance to sun 150,000,000 km,
radius 6,000 km) as well as satellites (that's the fun part..)
with a max-size of 10 METERS...

Okay, I have set something like
   view.setFrontClipDistance(1.0d);
   view.setBackClipDistance(151000000000d);

which gives me a pretty bad ratio (back to front) for z-buffering.

Not surprisingly, the rendering get's a bit confused, but
I need these large coordinates to display all three objects
in their correct size and position. A ratio of 1.6E8
works fine, but going up to the needed 1.6E11 screws it up.

Any ideas? Help? Thanks!
 Thomas


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to