Brief Index      Full Index      I.M. Reference

MShow_Vertex_Normals


Functions

void MShow_Vertex_Normals (HC_KEY key, int offset, int pcount, HC_POINT *normals)
 MShow_Net_Vertex_Normals (HC_KEY key, int offset, int pcount, HC_POINT *normals)

Function Documentation

void MShow_Vertex_Normals ( HC_KEY  key,
int  offset,
int  pcount,
HC_POINT *  normals 
)

Returns the normals set on the vertices of some geometry withough having to open each vertex.

Parameters:
key - Key to the piece of geometry to query.
offset - Index of the key's point array on which to start querying values.
pcount - Number of points from offset to query.
normals - Array of (x,y, z) triplets. Passed by reference. Returned to user.

DETAILS

NOTES

RESTRICTIONS

See also:
MSet_Vertex_Normals, Set_Normal, Show_Normal, MSet_Vertex_Parameters, Set_Parameter, Show_Parameter

void MShow_Net_Vertex_Normals ( HC_KEY  key,
int  offset,
int  pcount,
HC_POINT *  normals 
)

Similar to MShow_Vertex_Normals(), but returns the net effective normals set on the vertices of some geometry.

Parameters:
key - Key to the piece of geometry to query.
offset - Index of the key's point array on which to start querying values.
pcount - Number of points from offset to query.
normals - Array of (x,y, z) triplets. Passed by reference. Returned to user.

DETAILS

MShow_Net_Vertex_Normals differs from the regular MShow_Vertex_Normals in that it can return the normals that HOOPS calculates automatically, in cases where the normals are not explicitly set. This is particularly useful when dealing with NURBS surfaces, as it is the only way to query the normals associated with the HOOPS-specific tesselation of a NURBS Surface.

NOTES

RESTRICTIONS

See also:
MSet_Vertex_Normals, Set_Normal, Show_Normal, MSet_Vertex_Parameters, Set_Parameter, Show_Parameter

Main Index
Brief Index      Full Index      I.M. Functions