 |
My Project
|
Go to the documentation of this file.
24 #ifndef OPENSUBDIV3_SDC_OPTIONS_H
25 #define OPENSUBDIV3_SDC_OPTIONS_H
27 #include "../version.h"
30 namespace OPENSUBDIV_VERSION {
115 unsigned int _vtxBoundInterp : 2,
124 using namespace OPENSUBDIV_VERSION;
@ CREASE_UNIFORM
Catmark rule.
@ FVAR_LINEAR_NONE
smooth everywhere ("edge only")
void SetTriangleSubdivision(TriangleSubdivision t)
Set triangle subdivision weights rule (Catmark scheme only !)
@ TRI_SUB_CATMARK
Catmark weights (Catmark scheme only)
@ TRI_SUB_SMOOTH
"smooth triangle" weights (Catmark scheme only)
@ VTX_BOUNDARY_EDGE_ONLY
all boundary edges sharpened and interpolated
@ FVAR_LINEAR_BOUNDARIES
sharpen all boundaries ("always sharp")
All supported options applying to subdivision scheme.
TriangleSubdivision GetTriangleSubdivision() const
Get triangle subdivision weights rule (Catmark scheme only !)
VtxBoundaryInterpolation GetVtxBoundaryInterpolation() const
Get vertex boundary interpolation rule.
@ VTX_BOUNDARY_EDGE_AND_CORNER
CreasingMethod GetCreasingMethod() const
Get edge crease rule.
@ FVAR_LINEAR_CORNERS_ONLY
sharpen corners only
@ FVAR_LINEAR_CORNERS_PLUS1
("edge corner")
void SetCreasingMethod(CreasingMethod c)
Set edge crease rule.
void SetFVarLinearInterpolation(FVarLinearInterpolation b)
Set face-varying interpolation rule.
@ CREASE_CHAIKIN
Chaikin rule.
void SetVtxBoundaryInterpolation(VtxBoundaryInterpolation b)
Set vertex boundary interpolation rule.
@ FVAR_LINEAR_ALL
bilinear interpolation ("bilinear")
@ FVAR_LINEAR_CORNERS_PLUS2
("edge and corner + propagate corner")
FVarLinearInterpolation GetFVarLinearInterpolation() const
Get face-varying interpolation rule.