"Decker, Scott D" schrieb:
>
> Okay, so you want your back clip distance to be some
> 150,000,000,000 .. well, some big number anyways
> [...]
> Why not set your back distance to something like 50,000 meters?
Probably because the sun or the earth is further away
than 50,000 metres?!!!
> Or, better yet, why not scale everything down?
> if you all ready know your max distance, why not scale everything down to
> between 0 and 1?
Scaling down doesn't work, since I have LARGE planets and SMALL
satellites. If I scale everything down, I might get away with
a back clip distance of 50,000, BUT a front clip distance of
0.0001 (or whatever, pretty small number in any case). Still, this
gives me a bad back-to-front clip-ratio.
The problem is simply that the Z-Buffer has to cover a huge
range of values, which it inherently can't. What I have done now
is writing some projection algorithms that takes distant
objects and moves them (much) closer to the viewer while scaling
down the size of EACH object until all objects fit into the area
defined by the front and back clip distances.
Thomas
--
-------------------------------------------------------------------
Thomas Auinger . [EMAIL PROTECTED] . Tel
Kranichsteiner Str. 93 . 64289 Darmstadt . www.postspiel.de
===========================================================================
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".