[Papervision3D] Number of frames

Nathan Wallis nwallis at ncable.net.au
Fri Mar 14 06:34:42 PDT 2008


No, they only targetObject that I am using is translate, nothing else comes
through that is not handled.

In regards to my animation playing, it plays fine, except for the first
keyframe that I set in maya isn't duplicated in Papervision.  Trying to sort
it out.  The COLLADA export values are fine, so will delve a little deeper.

Cheers,

Nathan

-----Original Message-----
From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of fred fauquette
Sent: Friday, March 14, 2008 10:25 AM
To: papervision3d at osflash.org
Subject: Re: [Papervision3D] Number of frames

probably because you get this kind of node in the <library_animations> 
node :
<instance_animation url="#head_head-mesh-*morpher-weights*"/>
and weights is not a part of the ascollada parser words it only has 4 
cases (see daechannel.as) :
switch( targetObject )
{
case "transform":
break;
case "rotateX":
numCurves = 1;
break;
case "rotateY":
numCurves = 1;
break;
case "rotateZ":
numCurves = 1;
break;
default:
return;
}
because it's dealing with a split with "/" on this
<channel source="#Bip01-node-transform_Bip01-node_transform-sampler" 
target="*Bip01-node/transform*"/>
on the target attributes and then take the last word (in that case 
"transform") and try to get the next animation (new DaeAnimationCurve()).
and when you take some animation node you get this :
<channel 
source="#head_head-mesh-morpher-weights_head_head-mesh-morpher-morph_weights
_6_-sampler" 
target="*head_head-mesh-morpher-morph_weights(6)*"/>
and here the target can't be split by "/" and then you get no new 
animation cause you enter the case default when it return and don't 
create a new animation.
I'm trying to work on this too.
Best regards
Fred


Nathan Wallis a écrit :
>
> Hey guys,
>
> Thanks for fred, solved the reason why animated collada files weren’t 
> opening for me. Have another prob now.
>
> I have exported animation from Maya, say 18 frames worth. When it 
> plays inside Papervision, it says the timeline is only 15 frames long. 
> Likewise if I export 24, then 20 gets set in Papervision.
>
> I appreciate the help so much, thankyou.
>
> nathan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>   


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




More information about the Papervision3D mailing list