Just wondering if anyone has got animation clips working with Maya and this release?
Using ColladaMaya_FREE_3.05C and PV realease 915
I think the DAE exporter exports the SourceIn and sourceOut of the clips for the start/end of the animation instead of the frameIn and frameOut.
So the clip plays the wrong frames.
see the anatony of a clip for sorcein/out and framein/out
http://download.autodesk.com/us/maya/2009help/index.html?url=Nonlinear_animation_with_Trax_Creating_clips_with_Trax.htm,topicNumber=d0e14819
The difference between sorcein/out and framein/out
http://download.autodesk.com/us/maya/2009help/index.html?url=Nonlinear_animation_with_Trax_Scaling_clips_within_Trax.htm,topicNumber=d0e16007
when exported I get
<library_animation_clips>
<animation_clip id="Travel_ForwardSource" name="Travel_ForwardSource" start="0.041666" end="10">
<instance_animation url="#Aircraft.portFW-Travel_ForwardSource"/>
<instance_animation url="#Aircraft.starboardFW-Travel_ForwardSource"/>
<instance_animation url="#Aircraft.portRW-Travel_ForwardSource"/>
<instance_animation url="#Aircraft.starboardRW-Travel_ForwardSource"/>
<instance_animation url="#Aircraft.visibility-Travel_ForwardSource"/>
</animation_clip>
<animation_clip id="Aircraft_RiseSource" name="Aircraft_RiseSource" start="0.041666" end="10"/>
<animation_clip id="Aircraft_LowerSource" name="Aircraft_LowerSource" start="7.5" end="10"/>
<animation_clip id="Bank_LeftSource1" name="Bank_LeftSource1" start="2.5" end="5"/>
<animation_clip id="Bank_RightSource1" name="Bank_RightSource1" start="0.041666" end="2.5"/>
<animation_clip id="Shift_Left1Source1" name="Shift_Left1Source1" start="2.5" end="5"/>
<animation_clip id="Shift_Right1Source1" name="Shift_Right1Source1" start="0.041666" end="2.5"/>
</library_animation_clips>
when run
INFO: animations COMPLETE [AnimationController] #channels: 1 startTime: 0.041666 endTime: 14.99999999999995
the end time doesn't match with the above.
I tried daeModel.play("Aircraft_LowerSource",false); and the clip plays to early and does not go to the end
If I edit the start/end, it plays whats expected.
<animation_clip id="Aircraft_LowerSource" name="Aircraft_LowerSource" start="13" end="16"/>
Although that doesnt agree with the end time.
Not sure what the problem actually is, but seems to be the Maya/exporter side. Although more than likely me :(
Also noticed,
That the colorMaterial gets an alpha from the diffuse value now. So materials are transparent.
And the material name is used instead of the shader name.
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org