Hi , Can anyone suggest me an approach to make a custom geometry for eg: A hollow cylinder or horse shoe like shape. Anand W -----Original Message----- From: Joachim Diepstraten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Get Shape3D from Loader 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".
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
