morpher derived from ygNode Example Source Header

Description: creates a morphed object between two or more models

notes:
Category: Geometry
Author: Alex Hill
Revision: 11/01/01

    Messages
file string add a model file to the list of keyframeList
model string add a model file to the list of keyframeList
keyframe float select a keyframe and a decimal percentage within
set float select a percentage through all keyframeList
value float select a percentage through all keyframeList
position float select a percentage through all keyframeList
    Comments

constructor morpher

1 create frame weight flux

method reset

1 reset the number of frames to 0
2 reset the keyframe list

method message

1 add a model file to the list of keyframeList
2 select a keyframe and a decimal percentage within
3 select a percentage through all keyframeList

method setPosition

method setFrame

0.0.1 retrieve existing index list and binding
0.0.2 set solid colors and materials
0.0.3 set transparent colors and materials

method app

method addModel

method copyModelToGeode

method copyGeoSet

1 create new flux geoset data structure
2 create solid geoset
3 create and setup new coordinates
4 set up coordinate flux engine
5 create ans set up new normals
6 set up normal flux engine
7 create new texture coordinates
8 set up texture coordinate flux engine
9 set up color coordinates
10 create transparent geoset
11 get geoState attributes
12 set up transparency
13 add new geoStates to geoSets
14 add new geoSets to geodes
15 add geoSet data to geoSet list

method getGeoSetData

method updateBounds