Support Forum G3D Web Page |
When loading a transmissive material, G3D has the convention that black signifies fully transmissive, but for some Collada models this convention is reversed. More...
Public Types | |
enum | Value { NORMAL, INVERTED, MINIMIZE_TRANSMISSIVES, MAXIMIZE_TRANSMISSIVES } |
Static Public Member Functions | |
static const char * | classname () |
static int | count () |
static Value | nthValue (int n) |
static const char * | toString (int i, Value &v) |
Public Attributes | |
enum G3D::ArticulatedModel::Specification::ColladaOptions::TransmissiveOption::Value | value |
When loading a transmissive material, G3D has the convention that black signifies fully transmissive, but for some Collada models this convention is reversed.
These options allow Collada models to be loaded with both conventions. The default value is MINIMIZE_TRANSMISSIVES, where proper convention will be inferred while loading the model,
Enumerator | |
---|---|
NORMAL | Load the model using G3D convention. Black is fully transmissive |
INVERTED | Load the model using the inverse of the G3D convention. White is fully transmissive |
MINIMIZE_TRANSMISSIVES | The convention that minimizes the number of fully transmissive materials will be automatically chosen. This almost always will produce the desired result, but will fail in edge cases (such as a scene made entirely of glass). |
MAXIMIZE_TRANSMISSIVES | The exact inverse of MINIMIZE_TRANSMISSIVES. |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
enum G3D::ArticulatedModel::Specification::ColladaOptions::TransmissiveOption::Value G3D::ArticulatedModel::Specification::ColladaOptions::TransmissiveOption::value |