32 #ifndef LoadWriterDae_INCLUDE_ONCE 33 #define LoadWriterDae_INCLUDE_ONCE bool extractSkins() const
If set to true the skinned geometries will be also exported. Enabled by default.
TransparencyOption mInvertTransparency
bool useAlwaysMipmapping() const
If true then TPF_LINEAR_MIPMAP_NEAREST filtering is used when a non-mipmapped filter is specified...
void setExtractSkins(bool extract)
If set to true the skinned geometries will be also exported. Enabled by default.
void setFixBadNormals(bool fix)
Fix normals that are flipped compared to the polygon winding order. Enabled by default.
An abstract class representing a file.
< Transparency becomes 1.0 - <transparency>.
void setExportLights(bool exp_lights)
If true the lights contained in the COLLADA file will be exported otherwise one single dummy light wi...
bool flattenTransformHierarchy() const
If true the <node>'s transform hierachy is flattened and baked inside the Actor::transform(), otherwise the full transform tree is exported. Enabled by default.
void setFlattenTransformHierarchy(bool flatten)
If true the <node>'s transform hierachy is flattened and baked inside the Actor::transform(), otherwise the full transform tree is exported. Enabled by default.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
bool mUseAlwaysMipmapping
bool mFlattenTransformHierarchy
LoadOptions * loadOptions()
bool writeResource(VirtualFile *, ResourceDatabase *) const
Not supported yet.
void setComputeMissingNormals(bool compute)
Compute normals for those objects that don't have. Enabled by default.
< Transparency is inverted if <authoring_tool> contains the string "Google" or reports ColladaMax or ...
const LoadOptions * loadOptions() const
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
bool exportLights() const
If true the lights contained in the COLLADA file will be exported otherwise one single dummy light wi...
static VLGRAPHICS_EXPORT ref< ResourceDatabase > load(const String &path, const LoadOptions *options)
Visualization Library main namespace.
The LoadWriterDae class is a ResourceLoadWriter capable of reading COLLADA files. ...
ref< ResourceDatabase > loadResource(const String &path) const
bool computeMissingNormals() const
Compute normals for those objects that don't have. Enabled by default.
TransparencyOption invertTransparency() const
Invert the value of the <transparency> tag. Set to TransparencyAuto by default.
bool mergeDrawCalls() const
If set to true merges all the draw calls of each Geometry into one triangle and/or one triangle strip...
bool mComputeMissingNormals
void setUseAlwaysMipmapping(bool use)
If true then TPF_LINEAR_MIPMAP_NEAREST filtering is used when a non-mipmapped filter is specified...
void setMergeDrawCalls(bool merge)
If set to true merges all the draw calls of each Geometry into one triangle and/or one triangle strip...
The base class for all the reference counted objects.
void setLightMeshSize(float size)
If size != 0 a mesh will be generated and exported for each light source.
Loading options used by LoadWriterDae and DaeLoader.
#define VLGRAPHICS_EXPORT
ref< LoadOptions > mLoadOptions
< Keep the <transparency> value as it is.
bool fixBadNormals() const
Fix normals that are flipped compared to the polygon winding order. Enabled by default.
ref< ResourceDatabase > loadResource(VirtualFile *file) const
The ref<> class is used to reference-count an Object.
void setInvertTransparency(TransparencyOption invert)
Invert the value of the <transparency> tag. Set to TransparencyAuto by default.
bool writeResource(const String &, ResourceDatabase *) const
Not supported yet.
The ResourceLoadWriter class is an abstract class used to implement read/write support for one or mor...
float lightMeshSize() const
If size != 0 a mesh will be generated and exported for each light source.
The ResourceDatabase class contains and manipulates a set of resources.