|
Examples for this Tutorial contained in seamless_way_examples.zip The Morpher Node The Morpher node is used for morphing the vertices in a part during an animation sequence. Morpher nodes are always descendents of Part nodes (contained in the Part nodes's morpher field). A Morpher's displacement field should contain exactly the same number of elements in it's parent's coord field. When a morpher node's weight field receives a value of 1 (for example via a ROUTE) the parent part displays its vertices as if the coords have been added with the values from the displacement field of the morpher. The morpher can be varied in how much it morphs its parent by varying the value sent to the Morpher's weight field. The weight field can vary in values of the range of 0 to 1 0.0 = no morph Currently More than one morpher node can be contained in a part's morpher field and used to morphe different shapes with in a part for different animation sequences that happen at different times but currently seamless wont mix more than 1 morpher to a part simultaneously. This will be fixed in time. Setting up a Morpher To Morph a Smile The simple example called morphe_smile.smls is contained in the latest seamless_way_examples.zip file. Open this in seamless and you should see a in the 3d window a strip of red triangles representing a mouth which loops back and forth from a default mouth shape to a smile. The build nodes demonstrate how to set up a Morpher node for this task.
Copyright© 2000-2006 Graham Perrett thyme@seamless3d.com
|