Hi cellis

i know what you mean, but it's look like you need to IExternalizable them all
another way is create util class that can be collect animation data
and return as some IExternalizable also can be read external and apply
them back

so you can save mesh and animation data separated and also can be
apply that to other model (same structure) too, and yes more step for
parser/read back but when you done this you can merge them as one
IExternalizable class later

it's popping idea,and i can't help you much by now, just want to tell
that it can be done and worth to try

plz do tell us again if you done with this thing :)

best

On 30/07/2009, cellis <[email protected]> wrote:
>
>  I'll try to bump this in a way that is meaningful.
>
> What I'm trying to do is serialize an entire collada. Currently I can
> export to as3 using the AS3Exporter and set the material using
> objectcontainer3d.children[0], but the animation data is not saved. I
> looked into using a bytearray to serialize the animation library to
> amf, but you can't do that if you have properties that are set in
> constructors, or properties that are private/internal/don't implement
> IExternalizable. I also thought of walking all the channels and
> inspecting them and then "recreating"  them in a class that subclasses
> AnimationData or AnimationLibrary.
>
> Anyways i would love to contribute to this, if anyone has any ideas
> how to go about serializing/creating a subclass for animation data. I
> have a good deal of experience using Away3D and would love to make it
> so Colladas don't have to be loaded. Any help appreciated.
>
>
>
> On Jul 27, 12:44 pm, cellis <[email protected]> wrote:
>> Hi,
>>
>> is there a way to export the animation library to as3?  Understandably
>> complex, but if the Collada parser can create one (an animation lib),
>> wouldn't it be possible to use that same code to reflect an animation
>> Library into as3?
>>
>> Any help or suggestions appreciated.


-- 
katopz
http://www.sleepydesign.com

Reply via email to