Hi Dominik
> BranchGroup and follows the tree down if it found another BranchGroup or a
> TransformGroup.
> Or is there a better solution?
Well BranchGroup and TransformGroup are both Groups so you don't have to
distinguish them. But having looked at the code yes this should work. I
use a different more dirty approach by just going all through childs and
try to cast them to Group I have an try/catch block arround the cast so
when it's a shape or something different it will automatically trap into
the catch block there I only have to check if it's a shape3d or not. I
know it's dirty coding :)
EOF,
J.D.
--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)
===========================================================================
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".