Collada importer/exporter plugin

The collada file format (*.dae) is supported for import/export operations via a plugin: v_repExtCollada. The plugin full source code is available in the programming folder. Currently, only triangular or polygonal meshes are imported/exported. A future version will also support reading/writing physics-related information. If the collada plugin was correctly loaded, you can access the plugin dialog via [Plugins --> COLLADA import/export...]:

[Collada plugin dialog]

  • Merge imported meshes: if checked, then all imported meshes will be merged into a single simple shape. This option is useful if the collada file contains too many individual meshes (e.g. more than 1000-2000).
  • Import meshes only: by default, the plugin imports all available nodes: meshes become shapes, transformations become dummies, rotations become revolute joints, and translations become prismatic joints. In order to import only meshes, check this item (in that case, the node hierarchy will not be preserved).
  • Ungroup compound shapes: if enabled, then compound meshes will be represented as single simple shapes.
  • Scaling factor (collada import): a scaling factor used during the import operation. If the meshes in the collada file are expressed in mm for instance, and you keep the scaling factor at 1, then everything will appear way too large, or even not appear at all in the scene view.
  • Import: imports data from a collada file.
  • Export animation: if enabled, then each rendered scene will be exported as a distinct scene during simulation. The file will be written at the end of a simulation.
  • Export shapes only: by default all visible objects will be exported as a node in the collada file. Checking this item will export shapes only.
  • Scaling factor (collada export): a scaling factor used during the export operation.
  • Export: exports a single scene with all visible objects.