Skip to content

A clean, compact renderer for spherical images of shapenet objects in blender <2.8.

License

Notifications You must be signed in to change notification settings

vsitzmann/shapenet_renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a compact implementation of a batched OBJ- and PLY-renderer in blender. The inspiration was drawn from the "Stanford Shapenet Renderer". This code can be used to render datasets such as the ones used in the "Scene Representation Networks" paper.

It assumes blender < 2.8, as it uses the blender-internal renderer.

To render a batch of ply files in parallel, use the "find" command in conjunction with xargs:

find ~/Downloads/02691156/ -name *.ply -print0 | xargs -0 -n1 -P1 -I {} blender --background --python shapenet_spherical_renderer.py -- --output_dir /tmp --mesh_fpath {} --num_observations 50 --sphere_radius 1 --mode=train

About

A clean, compact renderer for spherical images of shapenet objects in blender <2.8.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages