The Collada world exporter is a world plugin that automatically generates a Collada mesh consisting of the models within a world SDF file. This plugin can be useful if you'd like to share an SDF world without requiring an SDF loader.
Using the Collada World Exporter
- Add the following lines as a child to the
<world>tag in an SDF file.<pluginfilename="ignition-gazebo-collada-world-exporter-system"name="ignition::gazebo::systems::ColladaWorldExporter"></plugin>
- Run the world using ign gazebo -v 4 -s -r --iterations 1 WORLD_FILE_NAME
- A subdirectory, named after the world, has been created in the current working directory. Within this subdirectory is the mesh and materials for the world.
Refer to the collada_world_exporter.sdf example.