>On Thu, 24 Oct 2002 08:37:16 -0400, Roy Duffy <[EMAIL PROTECTED]> wrote:

>This makes sense, but I don't think my problem has anything to do with how the
>geometry is sorted.  My problem is that the text is not fully transparent when under
>the OrderedGroup.  It sometimes occludes the text behind it as you can see in the
>example I posted in the other email.  I would think even if it was sorted incorrectly,
>you would still be able to see parts of each text because they're supposed to be
>transparent.  And I think that's what Andreas was saying he also saw in his
>application.
>
> -Roy
>

Alright, let me don my alpha-blending-expert hat for the fun of it.
You would be wise to consult someone more knowledgeable in this area.

Firstly, IIRC what Kelvin said not long ago, an OrderedGroup
will guarantee index-ordered rendering of its immediate children
only. Are your Text2Ds immediate children of your OrderedGroup ?
If not, the fact that the very first rendering comes out to be
correct may be simply coincidence,

Secondly, the occlusion issue I believe is because of incorrect
depth sorting. After you have rotated the Text2Ds, the farText
(which is now closer to the view) is incorrectly getting blended
with the background before the nearText (which is now farther away
from the view). Now let me see how this goes. The Text2D has a
transparent quad surrounding it. That blended with the black
opaque background with the default blending factors probably
gets you a black *opaque* quad surrounding the farText, and this
is what occludes the nearText.

just my 2 cents...

Vaidya

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