OBJParser
OBJ File Parser Powered by Boost Spirit
 All Classes Functions Variables Enumerations Enumerator Pages
Public Attributes | List of all members
OBJRenderState Struct Reference

Struct of optional state settings. More...

#include <OBJRenderState.hpp>

Public Attributes

uint32_t smoothing
 Smoothing group number. Default/no smoothing group is 0.
 
uint32_t lod
 Level-of-detail displayed. Off is 0. Otherwise, range of [1,100].
 
bool bevelInterp
 Sets bevel interpolation on/off. Default off. Polygons only.
 
bool colorInterp
 Sets color interpolation on/off. Default off. Polygons only.
 
bool dissolveInterp
 Sets dissolve interpolation on/off. Default off. Polygons only.
 
std::string material
 Specifies the material to use. Empty means no material. Once set, material can only be changed.
 
std::string textureMap
 Specifies the texture map to use. Empty or "off" means no map specified.
 
std::string shadowObj
 Specifies the shadow object filename. Empty means no object specified.
 
std::string traceObj
 Specifies the ray tracing object filename. Empty means no object specified.
 
OBJCurveTechnique curveTechnique
 Specifies the curve approximation technique. Free-forms only.
 
OBJSurfaceTechnique surfaceTechnique
 Specified the surface approximation technique. Free-froms only.
 

Detailed Description

Struct of optional state settings.

The settings specified in this struct are on a per-face or free-form basis. Most commonly used of these is the material name. The rest have highly varying levels of support among OBJ writers, other readers, and end-use implementations.

Multiple faces/free-forms may reference the same state.


The documentation for this struct was generated from the following file: