Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support save a world to collada #307

Closed
nkoenig opened this issue Aug 24, 2020 · 5 comments
Closed

Support save a world to collada #307

nkoenig opened this issue Aug 24, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@nkoenig
Copy link
Contributor

nkoenig commented Aug 24, 2020

It would be nice to support exporting a whole world to a single collada file. This would let us share world configurations with people who don't have Ignition, and we could also (easily?) load worlds into 3D viewers/editors.

There is some support here: https:/ignitionrobotics/ign-common/blob/master/graphics/include/ignition/common/ColladaExporter.hh

@chapulina chapulina added the enhancement New feature or request label Aug 25, 2020
@nkoenig
Copy link
Contributor Author

nkoenig commented Sep 24, 2020

@gonzodepedro , we have someone interested in saving the world to collada even if materials are not supported. I'm not sure how close you are to completing material support. You could make an initial PR(s) with just mesh support sans materials.

@gonzodepedro
Copy link
Collaborator

Sure. I'm working on a PR for a plugin and some changes that may be required in ColladaExporter, I'll link those here when ready, so we can start discussing implementation details.

@gonzodepedro
Copy link
Collaborator

Here is the code to the plugin.
Requires PR #307

@chapulina
Copy link
Contributor

Thanks, @gonzodepedro ! Do you think you could open a PR against this repository adding the plugin to src/systems? It would be nice to make it available to anyone installing ign-gazebo

mjcarroll added a commit to gazebosim/gz-common that referenced this issue Nov 18, 2020
This adds transformation matrixes to nodes in collada files when exporting

Connects to: gazebosim/gz-sim#307

Signed-off-by: Gonzalo de Pedro <[email protected]>

Co-authored-by: Michael Carroll <[email protected]>
@chapulina
Copy link
Contributor

Done on #474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants