You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output vertex image is generated from normalized models.
1
+
Usage:
2
+
To render Shapenet models, please refer to the example config file "config.txt"
2
3
3
-
Normalization Method:
4
-
1. Compute bounding box of the input model.
5
-
2. Move center of the bounding box to the origin.
6
-
3. Scale the model uniformly such that the diagonal length of the scaled bounding box is 2.
4
+
Parameters:
5
+
folder_path = test/ -- root folder of all obj models to render (Remember to put a '/' at the end)
6
+
envmap_path = envmaps/envmap.hdr -- path of the environment map file.
7
+
theta_inc = 30 -- theta increment of the views.
8
+
phi_inc = 10 -- phi increment of the views.
9
+
phi_max = 30 -- maximum phi angle of the views.
10
+
output_coord = 0 -- output vertex coordinate images or not.
11
+
render_size = 512 -- size for rendering
12
+
output_size = 256 -- size for output images (Actual rendering gets downsampled to antialias)
13
+
reverse_normals = 1 -- default for Shapenet
14
+
brightness = 2 -- overall brightness of output images
15
+
16
+
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.
0 commit comments