As Justin pointed out this is going to depend on the loader and what
interesting quirks we do when we load a model.

Assuming the resultant model was identical then yes of course the speed
once loaded should be identical.

But as an example let me point out when we load a 3DS model with our
loader that has a material marked as double sided we actually double the
number of triangles to create the backside properly textured (well I
think it's properly done anyway {grin}).  Now a different loader might
ignore double sided.  Hence you've loaded the exact same model yet the
result is totally different.

Another example: we load the triangles from a 3DS file but then we
create tri-strips to optimize it.  Another loader might just use the raw
triangles.  Again, same original file, yet different internal results
inside Java 3D.

- John Wright
Starfire Research

Justin Couch wrote:
>
> ZACZEK, MARIUSZ P. (JSC-DM) (NASA) wrote:
> > using 3DS format for loading is probably faster than say VRML ... but once
> > it gets loaded
> > into memory their should be no difference in terms of memory usage and
> > speed...right?
>
> Not necessarily. A lot has to do with the way the representations are
> translated into Java3D structures. In a lot of cases VRML does not map
> cleanly to Java3D structures so we have to do lots of workarounds and
> major functional changes. For example LODs can't be simply translated
> from the VRML concept to the Java3D concept if you think about the
> DEF/USE semantics. You basically end up with a lot of extra memory
> footprint to support these sorts of structures.
>
> --
> Justin Couch                         http://www.vlc.com.au/~justin/
> Java Architect & Bit Twiddler              http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
> -------------------------------------------------------------------
> "Humanism is dead. Animals think, feel; so do machines now.
> Neither man nor woman is the measure of all things. Every organism
> processes data according to its domain, its environment; you, with
> all your brains, would be useless in a mouse's universe..."
>                                                - Greg Bear, Slant
> -------------------------------------------------------------------
>
> ===========================================================================
> 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