Assimp
v4.1. (December 2018)
|
Public Member Functions | |
X3DExporter (const char *pFileName, IOSystem *pIOSystem, const aiScene *pScene, const ExportProperties *pProperties) | |
~X3DExporter () | |
Class which export aiScene to X3D file.
Limitations.
Pay attention that X3D is format for interactive graphic and simulations for web browsers. aiScene can not contain all features of the X3D format. Also, aiScene contain rasterized-like data. For example, X3D can describe circle all cylinder with one tag, but aiScene contain result of tessellation: vertices, faces etc. Yes, you can use algorithm for detecting figures or shapes, but that's not a good idea at all.
Supported nodes: Core component: "MetadataBoolean", "MetadataDouble", "MetadataFloat", "MetadataInteger", "MetadataSet", "MetadataString" Geometry3D component: "IndexedFaceSet" Grouping component: "Group", "Transform" Lighting component: "DirectionalLight", "PointLight", "SpotLight" Rendering component: "ColorRGBA", "Coordinate", "Normal" Shape component: "Shape", "Appearance", "Material" Texturing component: "ImageTexture", "TextureCoordinate", "TextureTransform"
Assimp::X3DExporter::X3DExporter | ( | const char * | pFileName, |
IOSystem * | pIOSystem, | ||
const aiScene * | pScene, | ||
const ExportProperties * | pProperties | ||
) |
Default constructor.
|
inline |
Default destructor.