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

can the sim export the Scenario to other format? #2482

Open
qingchu123 opened this issue Oct 20, 2024 · 1 comment
Open

can the sim export the Scenario to other format? #2482

qingchu123 opened this issue Oct 20, 2024 · 1 comment
Labels
enhancement New feature or request FAQ Frequently asked questions. solution proposed A solution or workaround is proposed but may not be merged to main.

Comments

@qingchu123
Copy link

i have find some beautiful scen suit for habitat,is there a method that can export that dataset to other format like a whole glb file so other sim software can use?

@aclegg3
Copy link
Contributor

aclegg3 commented Nov 19, 2024

Hey @qingchu123
We don't have any built-in tools for exporting the full scene.

However, here are a few leads if you'd like to pursue this yourself:

  1. You can save a .scene_instance.json file with Simulator.save_current_scene_config.
  2. You can write a Blender script to read scene_instance.json files and load/place all the assets. Then you can export into multiple formats from there.
  3. Keep in mind that you will need to use non-compressed assets to do the above. Most Habitat assets are BASIS compressed. Blender and many other engines can't read BASIS. You can try to decompress them with magnum plugins or you can find other source assets which are not in BASIS format.
  4. I might suggest that you also have a pre-process script using the MetadataMediator to get the object paths from the datasets instead of trying to do so manually.

@aclegg3 aclegg3 added enhancement New feature or request FAQ Frequently asked questions. solution proposed A solution or workaround is proposed but may not be merged to main. labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FAQ Frequently asked questions. solution proposed A solution or workaround is proposed but may not be merged to main.
Projects
None yet
Development

No branches or pull requests

2 participants