Skip to content

Commit cf895ec

Browse files
authored
Update readme.txt
1 parent a6e15b6 commit cf895ec

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

Diff for: readme.txt

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
Output vertex image is generated from normalized models.
1+
Usage:
2+
To render Shapenet models, please refer to the example config file "config.txt"
23

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

Comments
 (0)