Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  General Topics    Need help!!!urgently!!!

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi Admin,

I have set a ActionAnimator animation and all codes work perfect. (correct codes shown below)

<MTSTimeElem Type="Keyframe" Name="change" On="0">
<Time> 0 2 5 </Time>
<MTSTimeElem Type="ActionAnimator">
<noop/>
<MTSCopyProperty Src="MTSInstance.k1:Red Facepac" Dest="MTSInstance.k2:Red Facepac" />
<MTSCopyProperty Src="MTSInstance.k1:Red Facepac" Dest="MTSInstance.k3:Red Facepac" />
</MTSTimeElem>
</MTSTimeElem>
=======================================
But, when I seperated the MTSAction content into 2 MTSAction tags, and put the name of MTSAction into ActionAnimator, the codes doesn't work, why??? (wrong codes shown below)


<MTSTimeElem Type="Keyframe" Name="change" On="0">
<Time> 0 2 5 </Time>
<MTSTimeElem Type="ActionAnimator">
<noop/>
<act1 />
<act2 />
</MTSTimeElem>
</MTSTimeElem>

<MTSAction Name="act1">
<MTSCopyProperty Src="MTSInstance.k1:Red Facepac" Dest="MTSInstance.k2:Red Facepac" />
</MTSAction>


<MTSAction Name="act2">
<MTSCopyProperty Src="MTSInstance.k1:Red Facepac" Dest="MTSInstance.k3:Red Facepac" />
</MTSAction>



many many thanks!!!
 
Posts: 181 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
The MTSActions should be defined before the MTSTimeElements.
<MTSAction Name="act1">
<MTSCopyProperty Src="MTSInstance.k1:pac" Dest="MTSInstance.k2:pac" />
</MTSAction>

<MTSAction Name="act2">
<MTSCopyProperty Src="MTSInstance.k1:pac" Dest="MTSInstance.k3:pac" />
</MTSAction>

<MTSTimeElem Type="Keyframe" Name="change" On="0">
<Time> 0 2 5 </Time>
<MTSTimeElem Type="ActionAnimator">
<noop/>
<act1 />
<act2 />
</MTSTimeElem>
</MTSTimeElem>


Cheers,
Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Thanks
 
Posts: 181 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
And for your reference, the below diagram shows the ideal layout for mtx code. This diagram can be seen along with further details on Page 19 of the Viewpoint Rich Media Authoring Guide. Further information about the MTX interactor system can be found in chapter 9.

 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  General Topics    Need help!!!urgently!!!