Crystal Space 2.0.0: 5.8.4 Exporting Static Meshes

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 5.8.4 Exporting Static Meshes

If a Blender mesh object has neither an armature nor any shape keys, then it will be exported as a Genmesh Mesh Object. In the other case, then it will be exported as an animated mesh.

#### Exported Genmesh Data

The data of the mesh that are exported are

- the vertices of the mesh. Note that because of the triangulation process made, the count of vertices once exported in Crystal Space will generally be greater than the one in the Blender mesh.
- the faces of the mesh. Blender can use faces with any number of vertices while Crystal Space only uses triangles, therefore the faces are triangulated during the export process.
- the submeshes of the mesh. Every different Blender material that is actually used by some face of the mesh will correspond to a different submesh in the Genmesh. Every face that is exported will be placed in the corresponding submesh.
- the UV coordinates
- the normals
- the vertex colors

All this data is put in the corresponding library file in the `‘factories’` directory.

#### Instanced Meshes

Instanced meshes can be defined using the `‘Crystal Mesh Group’` panel in the `‘Object’` context of the `‘Properties’` window.

#### Creating a Double Sided mesh

It is possible to export a mesh as double sided, e.g. if you have a flat object that you would like to see from both sides. In this case, the `io_scene_cs` add-on will duplicate all faces, vertices, normals, etc of the mesh, implying much more memory and display costs. Therefore, you have to be sure to use this option only if you need it.

The Blender `‘Double Sided’` option is found in the `‘Object Data’` context of the `‘Properties’` window:

By default, this option is enabled for all new meshes that are created. Since this behavior is not friendly with the expectations of the `io_scene_cs` script, a global setting has been added in the main export panel, allowing to enable or not the use of the `‘Double Sided’` option. If you don't uncheck this last setting, then all meshes are exported as single sided.

#### Warning on the Blender Object Modifiers

The Blender object modifiers that can be defined in the `‘Object Modifier’` context of the `‘Properties’` window are not supported by the `io_scene_cs` add-on. Please make sure that all modifiers are either applied or removed before exporting your mesh.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

This document was generated using texi2html 1.76.