The hashtable keys are the actual labels for each of the transform groups. Your shape3Ds should be under those TransformGroups. Not sure if this is helpful to you, but I found this to be useful: http://www.tornadolabs.com/News/J3dTree_Home/j3dtree_home.html
When you initially load the scene, all the userData attributes for every node will be null until you explicitly set them. -Lisa Daniel Moscoso wrote: > Another question: > > This method returns a set of TransformGroup's. How can I get the label of everyone ? >Maybe with getUserData() ? > > Many thanks !! > > Dani > > Date: 21/12/2001 16:34 > To: [EMAIL PROTECTED] > > Reply to: [EMAIL PROTECTED] > > Subject: Re: [JAVA3D] Object labels from a 3ds model - Can they be loaded ? > Message text: > > Dani, > I am using Starfire's Loader3DS too. Once you load the scene, you can get the named >objects using the following: > > Scene scene = loader.load(url); > Hashtable children = scene.getNamedObjects(); > > Is this what you were looking for? > -Lisa > > Daniel Moscoso wrote: Hi all !! > > I have been currently working with 3ds models, loading them with Starfire 3ds >Loader. The models are usually composed of sub-objects. Opening them with a model >browser (like 3D Exploration), the objects appear with a label. > > Can these labels be imported from Java3D ? I have not found them in the BG's, TG's >or Shape3D's created after loaded the models. This could be a good way to distinguish >the sub-objects in a 3ds model. > > Any suggestion ? > > Thanks in advanced !! > > Dani > > -- > > Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn >Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, >informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das >unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you are not >the intended recipient (or have received this e-mail in error) please notify the >sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or >distribution of the material in this e-mail is strictly forbidden. > > =========================================================================== > 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". > > -- > > Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn >Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, >informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das >unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you are not >the intended recipient (or have received this e-mail in error) please notify the >sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or >distribution of the material in this e-mail is strictly forbidden. > > =========================================================================== > 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". ==========================================================================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".
