> From: Joao Henrique <[EMAIL PROTECTED]>
>
> I have some simple objects in my scenario, like, for example, a plane and a
> box. The box lays very close to the plane, almost touching it. When the
> viewer is near the objects they are just perfect, but as the viewer gets far
> from the objects, a kind of interference starts to happen. The box is green
> and the plane is gray, but what we see is a mixture of both colors, in
> stripes. This happens to other objects in my scenario. What could be causing
> such interference? Does anybody know something about it?


This sounds like a problem with the view clip limits (set on the View object).
If the ratio:

        backClipDistance / frontClipDistance

Is too large, objects that are near the back clip plane will loose their depth
buffer resolution just as you describe.  Make sure that the back/front ratio is
less than 3000 to avoid this effect. You may need to make this ratio even
smaller if you have objects that are very close together near the back plane.

Note that this is a property of the mathmatics used for viewing 3D objects, so
that this problem is common to all 3D graphics libraries, not just Java3D.

Doug Gehringer
Sun Microsystems

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