| --- |
| license: cc-by-nc-4.0 |
| task_categories: |
| - image-to-3d |
| tags: |
| - blender |
| - hdri |
| - inverse-rendering |
| - relighting |
| - 3d |
| --- |
| |
| # DuplicateBlenderData — Blender source scenes for *Structure from Duplicates* (SfD) |
|
|
| The 3D source files behind the synthetic objects in |
| [**DuplicateSingleImage**](https://huggingface.co/datasets/TianhangCheng7/DuplicateSingleImage), plus |
| the HDRI environment maps used to light the renders. Use this repo if you want to **re-render** the |
| objects, change the lighting, or build new duplicate-object scenes — for training SfD itself you only |
| need `DuplicateSingleImage`. |
|
|
| Code: [Tianhang-Cheng/SfD](https://github.com/Tianhang-Cheng/SfD) · |
| Paper: [arXiv:2401.05236](https://arxiv.org/abs/2401.05236) |
|
|
| ## Layout |
|
|
| ``` |
| box, cash, cleaner, clock, coffee, fire, gitar, sign, tin |
| <object>_clean.blend # the Blender scene (cash/ is scene.blend) |
| textures/ # the PBR maps the scene references |
| hdi/ |
| a.exr ... f.exr # HDRI environment maps |
| nv_box.hdr |
| ``` |
|
|
| `hdi/b.exr`, `hdi/c.exr` and `hdi/d.exr` are the maps the repo calls `b`/`c`/`d`; `b` and `d` are the |
| two targets used by the relighting evaluation (`--eval_relight`). |
|
|
| ## Download |
|
|
| ```bash |
| # whole thing (~770 MB) |
| hf download TianhangCheng7/DuplicateBlenderData --repo-type dataset --local-dir blender_data |
| |
| # or from a clone of the SfD repo |
| python download_assets.py --blender-data blender_data |
| |
| # just one environment map |
| hf download TianhangCheng7/DuplicateBlenderData hdi/b.exr --repo-type dataset |
| ``` |
|
|
| Open a `.blend` in Blender 3.x or newer. Textures are referenced with relative paths, so keep each |
| object folder's `textures/` next to its `.blend`. |
|
|
| ## Citation |
|
|
| ``` |
| @inproceedings{cheng2023structure, |
| title={Structure from Duplicates: Neural Inverse Graphics from a Pile of Objects}, |
| author={Cheng, Tianhang and Ma, Wei-Chiu and Guan, Kaiyu and Torralba, Antonio and Wang, Shenlong}, |
| booktitle={Thirty-seventh Conference on Neural Information Processing Systems}, |
| year={2023} |
| } |
| ``` |
|
|
| Individual object meshes/textures and HDRIs come from third-party sources (e.g. Poly Haven); the |
| original licenses of those assets apply to them. |
|
|