HDK
|
#include <smoothNormals.h>
Static Public Member Functions | |
static HD_API VtArray< GfVec3f > | ComputeSmoothNormals (Hd_VertexAdjacency const *adjacency, int numPoints, GfVec3f const *pointsPtr) |
static HD_API VtArray< GfVec3d > | ComputeSmoothNormals (Hd_VertexAdjacency const *adjacency, int numPoints, GfVec3d const *pointsPtr) |
static HD_API VtArray < HdVec4f_2_10_10_10_REV > | ComputeSmoothNormalsPacked (Hd_VertexAdjacency const *adjacency, int numPoints, GfVec3f const *pointsPtr) |
static HD_API VtArray < HdVec4f_2_10_10_10_REV > | ComputeSmoothNormalsPacked (Hd_VertexAdjacency const *adjacency, int numPoints, GfVec3d const *pointsPtr) |
Hd_SmoothNormals encapsulates mesh smooth normals information. It uses passed-in adjacency information and points data to compute smooth per-vertex normals. It does this by averaging face normals of faces surrounding a vertex.
Definition at line 46 of file smoothNormals.h.
|
static |
Computes the smooth normals result using the supplied adjacency information and points data. Returns an array of the same size and type as the source points, with optional packing.
|
static |
|
static |
|
static |