Previous Up Next

M3morphPolygonsF
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 a floating-point value (0.0 to 1.0), and the texture coordinates are between 0.0 and 1.0.
The topology associated to the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3morphPolygonsF (
S3d _session_
H3d _object_
[[HMat3d [[I F F] r1]] r1] _list1_
[[HMat3d [[I F F] r1]] r1] _list2_
F _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.