ay_sdmesh_object Struct Reference

Subdivision mesh object.

#include <ayam.h>

Data Fields

int scheme
 subdivision scheme (AY_SDSCATMULL, AY_SDSLOOP)
unsigned int nfaces
 total number of faces
unsigned int * nverts
 number of vertices per face [nfaces]
unsigned int * verts
 vertex indices [total_sum(nverts)]
unsigned int ntags
 total number of tags
int * tags
 tags [ntags] (AY_SDT*, hole, corner, crease, intpolbound)
unsigned int * nargs
 number of arguments per tag [ntags * 2]
int * intargs
 integer args [sum of all even elements of nargs]
double * floatargs
 float args [sum of all uneven elements of nargs]
unsigned int ncontrols
 total number of control points
double * controlv
 control points [ncontrols * 3]
unsigned int level
 subdivide to which level?
char drawsub
 draw subdivided mesh (1) or control mesh (0)?
ay_objectpomesh
 cached (subdivided) PolyMesh representation
double * face_normals
 cached face normals

The documentation for this struct was generated from the following file:
Generated on Thu Jan 2 15:24:24 2025 for Ayam by  doxygen 1.6.3