3DSMax 2009 Collada Animation Problem

View: New views
4 Messages — Rating Filter:   Alert me  

3DSMax 2009 Collada Animation Problem

by CodeJockey1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have tried to export a collada with animation from 3DSMax 2009 using its native collada export and the ColladaMax plugin and for some reason Papervision doesn't like either.  Am I doing something wrong?  Has anybody gotten this to work and if so how?

Attached is my sample .dae and here is my debug output:

INFO: DisplayObject3D: simpleObject
[SWF] C:\Users\tpardon.AGILE-SOLUTIONS\Documents\Flex Builder 3\PV3D_Model_Test\bin-debug\PV3D_Model_Test_Simple.swf - 397,531 bytes after decompression
INFO: DisplayObject3D: COLLADA_Scene
INFO: DisplayObject3D: Group01
INFO: DisplayObject3D: Teapot01
INFO: DisplayObject3D: Sphere01
[ERROR] DaeDocument#readNextAnimation : TypeError: Error #1010: A term is undefined and has no properties.
INFO: animations #1 of 1
TypeError: Error #1009: Cannot access a property or method of a null object reference.

test.DAE

Re: 3DSMax 2009 Collada Animation Problem

by carlos serrano :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Take a look, http://www.madvertices.com/2008/11/animated-dae-files-ascollada.html


2009/4/28 CodeJockey1 <codejockey1@...>

I have tried to export a collada with animation from 3DSMax 2009 using its
native collada export and the ColladaMax plugin and for some reason
Papervision doesn't like either.  Am I doing something wrong?  Has anybody
gotten this to work and if so how?

Attached is my sample .dae and here is my debug output:

INFO: DisplayObject3D: simpleObject
[SWF] C:\Users\tpardon.AGILE-SOLUTIONS\Documents\Flex Builder
3\PV3D_Model_Test\bin-debug\PV3D_Model_Test_Simple.swf - 397,531 bytes after
decompression
INFO: DisplayObject3D: COLLADA_Scene
INFO: DisplayObject3D: Group01
INFO: DisplayObject3D: Teapot01
INFO: DisplayObject3D: Sphere01
[ERROR] DaeDocument#readNextAnimation : TypeError: Error #1010: A term is
undefined and has no properties.
INFO: animations #1 of 1
TypeError: Error #1009: Cannot access a property or method of a null object
reference.

http://www.nabble.com/file/p23275148/test.DAE test.DAE
--
View this message in context: http://www.nabble.com/3DSMax-2009-Collada-Animation-Problem-tp23275148p23275148.html
Sent from the Papervision3D mailing list archive at Nabble.com.


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



--
www.merlinfactory.com

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: 3DSMax 2009 Collada Animation Problem

by Tim Knip-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

There's a bug in DAE preventing nested <animation> elements to get
parsed correctly.
If you check your COLLADA file you'll notice that there's stuff like
<animation><animation>....</animation></animation>

I've put this issue on my TODO.

Until its fixed you might want to try removing the 'top' <animation>
element and the 'bottom' </animation> elements from the file.

Also: its always good to enable export option 'bake matrices' (when
available in your exporter).

Tim

2009/4/28 Carlos Serrano <nusterbokerpv3d@...>:

> Take a look,
> http://www.madvertices.com/2008/11/animated-dae-files-ascollada.html
>
>
> 2009/4/28 CodeJockey1 <codejockey1@...>
>>
>> I have tried to export a collada with animation from 3DSMax 2009 using its
>> native collada export and the ColladaMax plugin and for some reason
>> Papervision doesn't like either.  Am I doing something wrong?  Has anybody
>> gotten this to work and if so how?
>>
>> Attached is my sample .dae and here is my debug output:
>>
>> INFO: DisplayObject3D: simpleObject
>> [SWF] C:\Users\tpardon.AGILE-SOLUTIONS\Documents\Flex Builder
>> 3\PV3D_Model_Test\bin-debug\PV3D_Model_Test_Simple.swf - 397,531 bytes
>> after
>> decompression
>> INFO: DisplayObject3D: COLLADA_Scene
>> INFO: DisplayObject3D: Group01
>> INFO: DisplayObject3D: Teapot01
>> INFO: DisplayObject3D: Sphere01
>> [ERROR] DaeDocument#readNextAnimation : TypeError: Error #1010: A term is
>> undefined and has no properties.
>> INFO: animations #1 of 1
>> TypeError: Error #1009: Cannot access a property or method of a null
>> object
>> reference.
>>
>> http://www.nabble.com/file/p23275148/test.DAE test.DAE
>> --
>> View this message in context:
>> http://www.nabble.com/3DSMax-2009-Collada-Animation-Problem-tp23275148p23275148.html
>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D@...
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
> --
> www.merlinfactory.com
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: 3DSMax 2009 Collada Animation Problem

by CodeJockey1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, I have it working now...  See the following blog post for how I got it to work...

http://codejockeyscorner.blogspot.com/2009/05/collada-animation-using-papervision3d.html