fastest 3D software for linux

Linux 3D
interactive ray-tracing

Index

 E3d_SkinVerticesNew
 E3d_MeshSkinAssignSkeleton
 E3d_MeshSkinUpdateShape
 E3d_SkinSkeletonSetDefaultTransform
 E3d_MeshSkinBindPose


E3d_SkinVerticesNew

Allocate memory for an array of SkinVertices

Syntax
E3dSkinVertex* E3d_SkinVerticesNew(const EIndex PNumOfVertices, const EBool PInitialize)

Arguments
const EIndex PNumOfVertices Number of SkinVertices to allocate const EBool PInitialize Initialize the SkinVertex array
Description
Allocates memory for the specified number of SkinVertices.

Return value
A pointer to the allocated array, or NULL in case of an error.

See also
E3d_MeshVerticesFree

E3d_MeshSkinAssignSkeleton

Assign Skeleton-hierarchy to a Skinned Mesh

Syntax
void E3d_MeshSkinAssignSkeleton(E3dMesh* PMesh, E3dNode* PSkeletonRoot)

Argument
E3dMesh* PMesh Pointer to the Mesh E3dNode* PSkeletonRoot Root node of the Skeleton-hierarchy
Description
Assigns the given Skeleton to a Mesh, builds SkinVertices array.

Return value
None.

E3d_MeshSkinUpdateShape

Update the shape of a Skinned Mesh

Syntax
void E3d_MeshSkinUpdateShape(E3dMesh* PMesh, E3dSkinMeshInfo* PSkinMesh)

Arguments
E3dMesh* PMesh Pointer to the E3dMesh E3dSkinMeshInfo* PSkinMesh Pointer to the skinning information LDoNormals If TRUE, update normals
Description
Performs Vertex-weight skinning on the given Mesh.

Return value
None.

E3d_SkinSkeletonSetDefaultTransform

Make the current "pose" of a Node hierarchy its default pose for a Skin

Syntax
void E3d_SkinSkeletonSetDefaultTransform(E3dGeometry* PGeometry)

Argument
E3dGeometry* PGeometry The "skinned" Geometry
Description
Makes the current pose of the Skeleton hierarchy its default pose by setting the WorldToDefaultMatrix of each SkinJoint to the inverse of the Node's current LocalToWorldMatrix

Return value
None.

E3d_MeshSkinBindPose

Make the current shape of a skinned Mesh its default shape

Syntax
void E3d_MeshSkinBindPose(E3dMesh* PMesh, E3dSkinMeshInfo* PSkinMesh)

Argument
E3dMesh* PMesh Pointer to the Mesh E3dSkinMeshInfo* PSkinMesh Pointer to the Skinning info
Description
Copies the Vertex positions into the SkinVertices and makes the current pose of the Skeleton hierarchy its default pose.

Return value
None.

See also
E3d_MeshSkinUpdateShape, E3d_SkinSkeletonSetDefaultTransform
© 1992-2017 By Gabor Nagy