![]() |
Polygon Crucher SDK - Documentation
Documentation
|
The scene which is CDScene object is the entry point for using the SDK.
This is what you get when loading a file.
The scene gives access to all entities of this 3D file: nodes, geometry, textures, materials...
The scene organizes hierarchically C3DSceneNode which consist mainly of a transformation + a reference to an object.
The scene also contains the list of materials (CMaterials) used by the objects. Each C3DMaterial might have some textures (CMaterialMap).
You can build a scene from scratch, or perform different operations on its objects such ray casting, optimization, node collapsing, cleaning operations.
And, of course!, you optimize it, which is the main purpose of the SDK.
All scene entities are serializable, which means that it can be saved to memory, transmitted, then reloaded.
Modules | |
Traversing the different nodes of the scene | |
Working with nodes | |
Working with objects | |
About animation | |