Hello all,

I'm having a problem understanding why a front clip value (back clip
seems to cause the same effect) affects hidden surface removal.  Or does
it at all, and I'm seeing some other behavior.  

I've set up a demo of my problem, see the attached file.

The problem is that the larger the front clip value I give to the view
the "more likely" objects which should be behind other objects are not
displayed properly.

In my example I have placed two quadarrays which form two planes (a blue
one and a green one) of sorts.  I tossed in a linearray and pointarray
for good measure as well.  These objects are then rotated infinitely.

When I set the front clip value to 500.0 everything is fine and the
planes pass in front of each other and block each other out.

When I set the fron clip value to 50000.0 everything is not fine.  On my
computer the blue plane is always in front.

I tried setting the clipping policies to the four different available
values but the problem remained in all four situations.

What is happening?

Regards,

Gregory Bradford

planes.java

Reply via email to