Procedural 3D data generation pipeline for architecture in python
Synthetic Dataset Generator
This is a tool that generates a dataset of synthetic buildings of different typologies.
The generated data includes:
- Mesh files of generated buildings,
.obj
format - Rendered images of the mesh,
.png
format - Rendered segmentation masks,
.png
format - Depth annotation,
.png
and.exr
format - Surface normals annotation,
.png
format - Point cloud files,
.ply
format (the number of points by default is 2048, can be changed indataset_config.py
)
How To Use
- Install Blender>=2.90. After installation make sure to add blender as an Environment variable.
- Download the package as a .zip file or:
git clone https://github.com/CDInstitute/CompoNET
*Navigate to the Building-Dataset-Generator
folder.
pip install -r requirements.txt
To create completely synthetic buildings use:
run.bat
Or:
blender setup.blend --python dataset.py
Unfortunately, it is