> From: Markus Junginger <[EMAIL PROTECTED]>
>
> I made a Background with a PointArray as stars. Under some circumstances
> that background behaves quite strage.
> The stars(points) are sometimes in front of my Geometry. Espacially the the
> geometry is far away (Z-Buffer problem?)

The problem could be your clip limits.  You set the back clip distance to 1000,
with the default front clip distance of 0.1 this makes a back/front ratio of
10000.  Depending on the hardware, ratios above 1000 or so can result in loosing
depth buffer resolution towards the back of your scene  Try moving your front
clip distance out to 1.0 and see if it fixes your problem.

Note: this problem is not unique to Java3D. Is a result of the mathematics of
the z-buffer algorithm and perspective viewing. Using hardware which has more
bits of z-buffer resolution or with a z-buffer that uses floating point
coordinates will improve the problem.

> But the bigger problem occures when i have a scene with
> aOrientedShape(QuadArray geometry):
> -the points in the background don't move anymore when i rotate the view
> -much more points are displayed

This is a bug, can you send us a test case?

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