File size: 2,136 Bytes
3a8581c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329f4fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
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}
```