[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGL / Collada demo




On Mar 10, 2011, at 9:18 AM, Erik Möller wrote:

> 
> ...I dumped the dae containing just the skeleton here in case someone wants to check if their neat viewer can get it right. http://people.opera.com/~emoller/anim_walk_GDC.dae

I'm no Collada expert, but This file looks really ripe for optimization. It contains a bazillion of these:

<float_array id="bj_R_wrist-translate-animation-outtanX-array" count="31">
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
</float_array>

and another bazillion of these:

<Name_array id="bj_R_wrist-translate-animation-interpolationX-array" count="31">
BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER BEZIER
</Name_array>

I'm not sure if that's the exporter being substandard, or a fundamental issue with Collada. Hopefully you can find a way to reduce its size to make the download more pleasant.

-----
~Chris
cmarrin@apple.com





-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------