This class is used to create a UV layout for a mesh.
To quickly generate a set of UVs create a node of this type, and call GenerateUVs
UVGeneratorNode* pUVGen = myMesh->ChildByClass<UVGeneratorNode>(true);
Optional: Set the texture resolution of face 1 to 32 x 32. pUVGen->SetFaceSize( 1, 32, 32 );
pUVGen->GenerateUVs( false );
myMesh now has an auto-generated UV layout. If the mesh is not going to be used in UVlessPainting mode (See Mesh::UVlessPaintingStatus) pUVGen can be deleted after calling UVGeneratorNode::GenerateUVs()
PtexExtractor/PtexLayout.cpp, PtexExtractor/PtexLayout.h, PtexExtractor/PtexPaintExporter.cpp, and PtexExtractor/PtexPaintExporter.h.
Definition at line 31 of file UVGeneratorInterface.h.
#include <UVGeneratorInterface.h>

Classes |
|
| struct | DimData2 |
| struct | DimData4 |
| These are utility classes to return n-tuples
of unsigned ints. |
|