Skip to content

sunweilun/ObjRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cf895ec · Oct 12, 2016

History

35 Commits
Feb 23, 2016
Feb 8, 2016
Feb 23, 2016
Feb 8, 2016
Jul 19, 2016
Feb 22, 2016
Feb 21, 2016
Feb 21, 2016
Feb 6, 2016
Feb 21, 2016
Feb 6, 2016
Feb 23, 2016
Feb 23, 2016
Mar 4, 2016
Feb 12, 2016
Oct 12, 2016
Jan 17, 2016

Repository files navigation

Usage:
To render Shapenet models, please refer to the example config file "config.txt"

Parameters:
folder_path = test/  -- root folder of all obj models to render (Remember to put a '/' at the end)
envmap_path = envmaps/envmap.hdr  -- path of the environment map file.
theta_inc = 30  -- theta increment of the views.
phi_inc = 10 -- phi increment of the views.
phi_max = 30 -- maximum phi angle of the views.
output_coord = 0 -- output vertex coordinate images or not.
render_size = 512 -- size for rendering
output_size = 256 -- size for output images (Actual rendering gets downsampled to antialias)
reverse_normals = 1 -- default for Shapenet
brightness = 2 -- overall brightness of output images

Images will be generated in a folder called '[x]_views' under the same directory where the obj model file is located. Where '[x]' is the name of the obj model file excluding the extension.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published