Well, I'm biting the bullet to perform real-time range ordering of my
transparency objects.  (Can't wait until the next release.)  Anybody
have some tips on doing this?

I've already got my transparent objects in OrderedGroup objects, and I
have written a RangeOrderingBehavior that is woken up when my navigation
behavior posts an event.  Also, my transparent objects are prepped under
BranchGroups so they can be detached and reordered under the
OrderedGroup.

My problem is that I was expecting to make a call to Node.getBounds() to
find the distance between the viewer and the transparent node, but the
Bounds class has no generic way of getting the center of the bounds.
I've noticed that the Bounds are (so far) actually BoundingSpheres,
which I can get the center of.  But I shouldn't have to assume (or hope)
that the bounds are always BoundingSphere objects.

Am I doing this the same way everybody else has done it??

-Lee

J. Lee Dixon
SAIC - Celebration, FL
407-566-1438
[EMAIL PROTECTED]    AOL: LeeOrlando

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