jmccormac / pySceneNetRGBD

Scripts showing how to work with the SceneNetRGBD dataset
GNU General Public License v3.0
178 stars 46 forks source link

Generate scene as .obj + .mtl #31

Closed arnovaill closed 4 years ago

arnovaill commented 4 years ago

I am looking to generate 3D scenes from your data. I undestand that with the code you provide here: https://bitbucket.org/dysonroboticslab/scenenetrgb-d/src/master/ you can generate randomly a scene and a trajectory in it. Is there any way to get the obtained scene as .obj + .mtl file from the obtained scene_and_trajectory_description.txt file ? Thank you!

ankurhanda commented 4 years ago

The function to create a new obj out of the txt files does not exist in the repo. However, the function shouldn't be hard to implement as you only need to transform the objects given their poses and put it all into a single obj. You can view in meshlab if things look OK afterwards.

Sorry that we didn't add this function into the repo.