View Single Post
Old 07-11-2007, 09:28 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

The basic workflow is the following:

1) Modify the mesh to the desired morph state
2) Export the modified mesh to a cal3d mesh file
3) Add the new morph to your avatar cfg. The cfg will look like the following:
mesh = head.cmf
morph = head_smile.cmf
morph = head_talk.cmf
As you can see, the morph target declaration must come immediately after the associated mesh declaration.
4) In your script you and modify the morph in real time by using the following command:
#Set morph 0 to 50%
The morph targets are number from 0 to X based on the order they were declared in.

Let me know if you have any more questions
Reply With Quote