Arb-Objaverse / README.md
lizb6626's picture
Update README.md
329f4fc verified
|
raw
history blame
2.14 kB
---
license: mit
---
# Arb-Objaverse Dataset
[Project page](https://lizb6626.github.io/IDArb/) | [Paper](https://lizb6626.github.io/IDArb/) | [Code](https://github.com/Lizb6626/IDArb)
![image/png](assets/dataset.png)
## News
- [2024-12] We have the complete dataset under `data` dictionary. Feel free to download it.
## Dataset Format
```
Arb-Objaverse Dataset
├── 000-000
│ ├── 0a3dd21606a84a449bb22f597c34bab7 // object uid
│ │ ├── albedo_<view_idx>.png // albedo image
│ │ ├── color_<light_idx>_<view_idx>.png // rendered rgb image
│ │ ├── normal_<view_idx>.exr
│ │ ├── orm_<view_idx>.png // we store material as (o, roughness, metallic), where o is left unused
│ │ ├── camera.json // camera poses
│ │ ├── lighting.json // rendering light
```
## Rendering Scripts
Rendering scripts for generating this dataset are available in the `./rendering` directory. To use these scripts, start by installing the necessary dependencies
```
pip install blenderproc==2.5.0
```
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:
```
blenderproc download haven haven_dataset --types hdris
```
Alternatively, you may choose to use your own custom environmental maps.
Modify `GLB_PATH`, `OUTPUT_DIR` and `HDRI_PATH` variables to point to your respective paths, and then run the following commands:
```
GLB_PATH=__YOUR_GLB_PATH__
OUTPUT_DIR=__YOUR_OUTPUT_DIR__
HDRI_PATH=__HDRI_PATH__
# render the normal and material maps
blenderproc run render_normal_orm.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
# render albedo map
blenderproc run render_albedo.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
# render rgb images illuminated by HDR map
blenderproc run render_color.py --glb_path ${GLB_PATH} --hdri_path ${HDRI_PATH} --output_dir ${OUTPUT_DIR}
# render rgb images illuminated by point lights
blenderproc run render_color.py --glb_path ${GLB_PATH} --output_dir ${OUTPUT_DIR}
```