README.md
650 Bytes
This directory contains code that generates partial point clouds from ShapeNet models. To use it:
- Install Blender.
- Create a model list. Each line of the model list should be in the format
[synset_id]/[model_id]
. - 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. - 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.