Supported Model Formats
Carmenta Engine can read a number of different 3D model formats. Supported model formats are:
Image format name | Recognized file extension |
---|---|
3d studio max, 3DS | .3ds |
Open Flight, FLT | .flt |
Virtual reality modeling language, VRML | .wrl |
Wavefront .obj | .obj |
GL Transmission Format, glTF | .gltf |
GL Transmission Format, glTF, binary variant | .glb |
Collada | .dae |
Models can be read using the Symbol3D class. The models can be displayed in 3D views using SymbolVisualizer, or an application can access the mesh geometries and corresponding material properties directly. If a material specifies a texture, the image format must be one of the those described in Supported Image Formats.
General limitations of models in Carmenta Engine
There are several limitations affecting all models in Carmenta Engine, these are:
Only static geometry and materials are read from models. Lighting, animations and other information is ignored.
Only material properties compatible with Material are read. If multiple texture maps are specified for the same material, only the first texture is used.
Model handlers will only read textures in supported formats.
Format specific limitations
3DS
None
FLT
Does not support Continuous Adaptive Terrain (CAT) data.
Does not support the instancing (opcodes 61, 62) and external reference (opcode 63) records
VRML
Only a subset of VRML 1.0 is supported. Later versions are not supported.
OBJ
None
glTF
Version 1 is supported, and also the KHR_binary_glTF extension of version 1.
Collada
Collada versions 1.4.1 and 1.5.0 are supported. Only meshes with triangles or polylists are read, other types of geometry are ignored.