I think this was recommended to you before, but you just need to use 
Scene.getNamedObjects(). This function returns a Hastable that indexes the Shape3D 
objects by the name you gave them in the 3DS file.

Hashtable namedObjects = scene.getNamedObjects();

if (namedObjects != null) {
  Object myShape = namedObjects.get("the name of the node");
  if (myShape instanceof Shape3D) {
    namedShape = (Shaped3D) myShape;
  } else {
   System.err.println("The named node is not a Shape3D");
}

josh

----------------------------------------------------
Joshua L. Richmond, BASc, MSc.  
Systems Design Engineering /
Orbital Express Program

MD Robotics
9445 Airport Rd, Brampton, ON, Canada
(905) 790-2800 x4332
http://www.mdrobotics.ca
-----------------------------------------------------

>>> [EMAIL PROTECTED] 09/05/03 04:25AM >>>
I haven't been able still to identify the shape3Ds imported from a 3DS file. I give 
them a name in 3ds but I don't know how to identify them in java.
Boby

===========================================================================
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".
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Josh Richmond
TEL;WORK:4332
ORG:MDRobotics Ltd.;Systems Engineering #211
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Richmond;Josh
TITLE:BASc., MSc.
ADR;INTL;WORK;PARCEL;POSTAL:;Mailstop 23;9445 Airport Rd;Brampton;ON;L6S 4J3;Canada
LABEL;INTL;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Josh Richmond=0A=
Mailstop 23=0A=
9445 Airport Rd=0A=
Brampton, ON  L6S 4J3=0A=
Canada
LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Josh Richmond=0A=
Mailstop 23=0A=
9445 Airport Rd=0A=
Brampton, ON  L6S 4J3
END:VCARD


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