[Papervision3D] collada vs. *.3DS file format PERFORMANCE ???
elbarto37 at yahoo.com
Wed Jul 8 15:58:26 PDT 2009
So, I finally got arround to doing that performance test... Here are the
I created a car model in 3DS Max and exported it as wagon.DAE and wagon.3DS.
The exported file sizes are:
wagon.DAE = 487 KB
wagon.3DS = 102 KB
Then, I created a separate FLA for each of the tests, but they both worked
exactly the same way:
I created a materialsList with colorMaterials for the imported model. I then
loaded the model 5 times, pushed each one onto an array (sending each one
the same materialsList). Each of the 5 models was then added to the stage
and on every Render frame, it turned 1 degree.
Every line of the actionscript was identical between the 2 tests except,
what type of model was loaded in (and I had to scale the Max3DS models to
match the size of the Collada models). Here are the results:
Using Max3DS.as parser:
frame rate = 13-18 fps
mem usage: 25MB - 32MB
Using Collada.as parser:
frame rate = 7- 15 fps (the frame rate jumped around a lot more and the
rotation was clearly more jittery)
mem usage = 35MB - 40MB
So, I have to give the advantage to the Max3DS parser. Not only are the
loaded files smaller, but they perform better. Kind of what I expected.
Collada is XML, so it has a lot more overhead. I'll try to clean up the
files this weekend and post them on my website for people to play with.
> Hey everyone,
> It seems like everyone here uses the collada (DAE) format for importing
> their models. Collada is nice because it's a (theoretically) universal
> format, but it has a lot of overhead because it is an XML format. In a
> recent test, I created a car model and exported it in both formats: DAE
> and 3DS. The results are:
> car.3DS = 64.3K
> car.DAE = 311K
> The 3DS format will obviously save me a lot of loading time, but does the
> 3DS format perform any better once it has been imported? I have noticed
> that most of the sample SWFs (in both PV3D and Away3D) that import
> high-poly models use the 3DS format instead of the DAE. Has anyone run a
> performance test? If not, maybe I will do it.
Check out my blog for Flash, AS3, and web development stuff:
View this message in context: http://www.nabble.com/collada-vs.-*.3DS-file-format-PERFORMANCE-----tp24289928p24400923.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D