Previous Next Up Title Contents Index Functions Index Top Library

3D MESH SKIN

tmesh_skin


CALL SEQUENCE

void tmesh_skin (struct_id, mesh)

INPUT PARAMETERS

Pint	struct_id;
Tmesh3D	*mesh;

ARGUMENTS

struct_id
Structure identifier.
mesh
3D mesh

EFFECT

This function builds the extern skin of a 3D mesh. This 3D surface may be lighted using PHIGS light facilities. Refer to PHIGURE sample programs to see how to light this surface.

Considering a non-structured 3D mesh (mesh->type = TNS_MESH_OF_HEXAHEDRONS, or TNS_MESH_OF_TETRAHEDRONS or TNS_MESH_NON_HOMO_3D), the skin is made of all faces which only belong to one mesh element.

If the mesh is not well built or has some holes inside, some internal faces may be detected as part of the skin. To see this faces modeling clipping may be applied (see function tset_model_clip_vol3). tmesh_skin function may be used like this to detect mesh building problems.


Previous Next Up Title Contents Index Functions Index Top Library