Previous Up Next

M3morphPolygons
Takes a topology or a mesh as a parameter.
Redefines the primary texture coordinates for the polygons of the topology referenced by the mesh.
The final values are the result of the interpolation between the two lists given as parameters. The interpolation coefficient is an integer point value (0 to 65535), and the texture coordinates are between 0 and 255.
The topology associated to the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3morphPolygons (
S3d _session_
H3d _object_
[[HMat3d [[I I I] r1]] r1] _list1_
[[HMat3d [[I I I] r1]] r1] _list2_
I _rate_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
_list1_
List of polygons 1
_list2_
List of polygons 2
_rate_
Interpolation rate
Return value

0 if successful, otherwise nil
Remark

In the case of a multi-topo mesh, only the active topology is concerned.