> From: Gerd Mueller <[EMAIL PROTECTED]>
> Just an idea: Is it possible to have an object always in front of
> another ? Just like the OrientedShape3D, but I guess there has to
> be a translation somewhere, not only a rotation. That would be
> ideal for the labels. My problem is as follows: I develop a
> molecule editor and the atoms may have labels. It would be cool
> if the labels would always be in front of the atoms no matter
> where I look from.

One way to do this is to split your data into two "trees".  The first is for
your atoms and it is rendered with depth buffering.  The second is for the
labels, and it is rendered without depth buffering.  Then use and ordered group
to draw the label tree after the atom tree.

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