Well, you may also want to seek better counsel, but here's
my $0.02 worth.

If you don't use the OrderedGroup, then my guess would be that
the spiral should be visible behind the sphere.

If you use the OrderedGroup, then the behavior you see is as
expected. The reason I believe is that the View flag
setDepthBufferFreezeTransparent(..) which by default is true,
has no effect (???) on transparent objects rendered during the
OrderedGroup rendering pass. So, the transparent sphere is
still writing to the depth buffer and thus occludes the spiral.
I guess a solution would be to set an appropriate RenderingAttributes
on the Sphere's appearance.

Now, assuming what I dished out above is true, the View API docs.
would be more helpful if it is extended to reflect the above.

Vaidya


>On Thu, 6 Feb 2003 22:57:02 -0500, RWGRAY <[EMAIL PROTECTED]> wrote:

>I define my own sphere using TriangleArray.  And I use a LineArray to define
>a spiral on the surface of the sphere (actually, at a slightly larger radius
>so its just off the surface of the sphere.) Both sphere and spiral are
>centered on the origin.
>
>I then define the sphere's appearance to have a transparency of 0.5 of type
>NICEST.  Why can't I see the spiral line through the sphere?
>
>I have tried putting both sphere and spiral under an OrderedGroup.  No
>matter which order I add the sphere and the spiral to the OrderedGroup, I
>still end up with the sphere *completely* blocking the line array for line
>segments "behind" the sphere.  Even if I set the transparency to 0.9, the
>line segments behind the sphere do not show through.
>
>Is this the correct behaivor of the OrderedGroup?  I thought that if I
>forced the LineArray to render first that it would show through the
>TriangleArray, but that doesn't seems to be the case.
>
>What do I have to do to get the LineArray to show through the sphere
>(without using SCREENDOOR)?
>
>Cheers,
>Bob Gray
>
> ==========================================================================
>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".

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