17 #ifndef __H__OBJ_PARSER_RENDER_STATE__H__
18 #define __H__OBJ_PARSER_RENDER_STATE__H__
20 #include <boost/fusion/adapted.hpp>
27 enum class OBJSubdivision
Specifies free-form curve subdivision technique.
Definition: OBJRenderState.hpp:42
std::string textureMap
Specifies the texture map to use. Empty or "off" means no map specified.
Definition: OBJRenderState.hpp:118
float maxDistance
Maximum distance between line segments and curve in Curvature subdivision. 0.0 if not used...
Definition: OBJRenderState.hpp:59
bool dissolveInterp
Sets dissolve interpolation on/off. Default off. Polygons only.
Definition: OBJRenderState.hpp:115
bool colorInterp
Sets color interpolation on/off. Default off. Polygons only.
Definition: OBJRenderState.hpp:114
float maxLength
Maximum length of line segments with Spatial subdivision. 0.0 if not used.
Definition: OBJRenderState.hpp:85
float maxDistance
Maximum distance between line segments and curve in Curvature subdivision. 0.0 if not used...
Definition: OBJRenderState.hpp:86
Struct of optional state settings.
Definition: OBJRenderState.hpp:100
float resU
Resolution parameter for the U direction with Parametric subdivision. If technique is ParametricB...
Definition: OBJRenderState.hpp:82
float maxLength
Maximum length of line segments with Spatial subdivision. 0.0 if not used.
Definition: OBJRenderState.hpp:58
OBJSubdivision technique
Subdivision type. For curves this may be: Parametric, Spatial, or Curvature. If None, then this technique has not been specified.
Definition: OBJRenderState.hpp:54
std::string shadowObj
Specifies the shadow object filename. Empty means no object specified.
Definition: OBJRenderState.hpp:119
float res
Resolution used with Parametric subdivision. 0.0 if not used.
Definition: OBJRenderState.hpp:56
std::string material
Specifies the material to use. Empty means no material. Once set, material can only be changed...
Definition: OBJRenderState.hpp:117
OBJSurfaceTechnique surfaceTechnique
Specified the surface approximation technique. Free-froms only.
Definition: OBJRenderState.hpp:123
bool bevelInterp
Sets bevel interpolation on/off. Default off. Polygons only.
Definition: OBJRenderState.hpp:113
float maxAngle
Angle between tangent vectors at line segment ends in Curvature subdivision. 0.0 if not used...
Definition: OBJRenderState.hpp:60
std::string traceObj
Specifies the ray tracing object filename. Empty means no object specified.
Definition: OBJRenderState.hpp:120
OBJSubdivision technique
Subdivision type. For surfaces this may be: ParametricA, ParametricB, Spatial, or Curvature...
Definition: OBJRenderState.hpp:80
OBJCurveTechnique curveTechnique
Specifies the curve approximation technique. Free-forms only.
Definition: OBJRenderState.hpp:122
Specifies free-form surface subdivision technique.
Definition: OBJRenderState.hpp:67
uint32_t lod
Level-of-detail displayed. Off is 0. Otherwise, range of [1,100].
Definition: OBJRenderState.hpp:111
uint32_t smoothing
Smoothing group number. Default/no smoothing group is 0.
Definition: OBJRenderState.hpp:110
float resV
Resolution parameter for the V direction with Parametric subdivision. If technique is ParametricB...
Definition: OBJRenderState.hpp:83
float maxAngle
Angle between tangent vectors at line segment ends in Curvature subdivision. 0.0 if not used...
Definition: OBJRenderState.hpp:87