hello Pierre,

I have used ObjectLoad to do what you are asking about.  I think that
any loader will fit your purpose.  The key to naming your objects is that
the name must be in the geometry file or constructed when the geometry
is made.  I suggest looking at ObjectFile or another format that represents
your data and follow the same logic.  You can write a getName method to
read the part name or make one up as you count your input (part_1, part_2
etc).

HTH
Pierre

> ----------
> From:         pierre abel[SMTP:[EMAIL PROTECTED]]
> Reply To:     Discussion list for Java 3D API
> Sent:         Thursday, July 13, 2000 11:41 AM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] Best format file to use
> loaders.Scene.getNamedObject()
>
> Hello,
>
> In my application I need to load some objects that are defined in
> external  files . I read that it is possible to do that using Loaders.
> Great!
> After I need to modify (for example the size or the color...) this objet
> in real time according to some information (I work on dynamic
> information visualization...). Most of the times, I have to modify only
> a subpart of the object, and not the complete object.
> To do that , I need a reference of the different subpart of the
> object,so I think that I have to use
> com.sun.j3d.utils.loaders.Scene.getNamedObject()...
>
> I read that VRML and Lightwave loaders could do this... Is 3DS loader
> (and which one!) able to do this also ? Is there other formats that can
> do this?
> Which is the best format (and reliable) to use ?
>
> Thanks in advance!
>
> pierre
>
> PS: by the way, if somebody has some tricks to give me about working
> with external file before I start writing the code, he's welcome!
>
>
>
> ------------------------------------------------------
> Pierre Abel, Phd Student                | mailto:[EMAIL PROTECTED]
> Institut Eurecom                            |
> http://www.eurecom.fr/~abel/
>
> ==========================================================================
> =
> 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".

Reply via email to