Name Last Update
..
.gitignore Loading commit data...
README.md Loading commit data...
process_exr.py Loading commit data...
render_depth.py Loading commit data...

This directory contains code that generates partial point clouds from ShapeNet models. To use it:

  1. Install Blender.
  2. Create a model list. Each line of the model list should be in the format [synset_id]/[model_id].
  3. Run blender -b -P render_depth.py [ShapeNet directory] [model list] [output directory] [num scans per model] to render the depth images. The images will be stored in OpenEXR format.
  4. Run python3 process_exr.py [model list] [intrinsics file] [output directory] [num scans per model] to convert the .exr files into 16 bit PNG depth images and point clouds in the model's coordinate frame.