lizb6626 commited on
Commit
329f4fc
·
verified ·
1 Parent(s): 0ed917a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -1
README.md CHANGED
@@ -29,4 +29,31 @@ Arb-Objaverse Dataset
29
 
30
  ## Rendering Scripts
31
 
32
- Rendering scripts for generating this dataset are available in the `./rendering` directory. We utilize `blenderproc==2.5.0` for Blender rendering. Environmental HDRs are sourced from the [Haven Dataset](https://dlr-rm.github.io/BlenderProc/examples/datasets/haven/README.html).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  ## Rendering Scripts
31
 
32
+ Rendering scripts for generating this dataset are available in the `./rendering` directory. To use these scripts, start by installing the necessary dependencies
33
+ ```
34
+ pip install blenderproc==2.5.0
35
+ ```
36
+
37
+ The environmental HDRs used in this dataset are sourced from [Poly Haven](https://polyhaven.com/hdris). You can download all available environmental HDRs using the following command:
38
+ ```
39
+ blenderproc download haven haven_dataset --types hdris
40
+ ```
41
+ Alternatively, you may choose to use your own custom environmental maps.
42
+
43
+ Modify `GLB_PATH`, `OUTPUT_DIR` and `HDRI_PATH` variables to point to your respective paths, and then run the following commands:
44
+ ```
45
+ GLB_PATH=__YOUR_GLB_PATH__
46
+ OUTPUT_DIR=__YOUR_OUTPUT_DIR__
47
+ HDRI_PATH=__HDRI_PATH__
48
+
49
+ # render the normal and material maps
50
+ blenderproc run render_normal_orm.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
51
+
52
+ # render albedo map
53
+ blenderproc run render_albedo.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
54
+
55
+ # render rgb images illuminated by HDR map
56
+ blenderproc run render_color.py --glb_path ${GLB_PATH} --hdri_path ${HDRI_PATH} --output_dir ${OUTPUT_DIR}
57
+ # render rgb images illuminated by point lights
58
+ blenderproc run render_color.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
59
+ ```