Difference between revisions of "NewtonMeshApplySphericalMapping"
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
+ | Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | ||
== Parameters == | == Parameters == | ||
− | * const NewtonMesh* | + | * const NewtonMesh* mesh - is the pointer to the mesh primitive. |
− | * int material | + | * int material - handle to the graphical material (usually this is the handle of a texture object). |
* const dFloat* const aligmentMatrix | * const dFloat* const aligmentMatrix | ||
Line 19: | Line 20: | ||
== Description == | == Description == | ||
− | + | Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | |
== See also == | == See also == | ||
− | + | ||
+ | [[NewtonMeshApplyBoxMapping]] | ||
+ | [[NewtonMeshApplyCylindricalMapping]] | ||
+ | [[NewtonMeshCalculateVertexNormals]] | ||
[[Category:Mesh joint functions]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Newton Functions without description]] [[Category:User defined mesh shape functions]] | [[Category:Mesh joint functions]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Newton Functions without description]] [[Category:User defined mesh shape functions]] |
Latest revision as of 05:45, 18 June 2019
Work In Progress: This function interface is not final and is subject to change in the future |
NewtonMeshApplySphericalMapping
void NewtonMeshApplySphericalMapping(const NewtonMesh* const mesh, int material, const dFloat* const aligmentMatrix)
Usage
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping.
Parameters
- const NewtonMesh* mesh - is the pointer to the mesh primitive.
- int material - handle to the graphical material (usually this is the handle of a texture object).
- const dFloat* const aligmentMatrix
Return
- (Procedure)
Description
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping.
See also
NewtonMeshApplyBoxMapping NewtonMeshApplyCylindricalMapping NewtonMeshCalculateVertexNormals