Render 3d house dataset with blender
The Format of Dataset should be like this:
Roothousehouse_idhouse.json
- .....
objectobject_id- .......
roomroom_idwall.objfloor.obj- ......
-
Run
node install --save obj2gltfin the project -
modify local setting
data_dir: theRoothouse_id: the Id of housedir: Glft model's save path, default./scene
-
Start a Terminal and change directory to Project root
-
Input
node run glfthouse.jsglfthouse.jsis modified from Shao-Kui/SUNCG-Visulization-Using-Three.js: Visulize SUNCG dataset using three.js (github.com)
-
https://huailiang.github.io/blog/2020/blender/
https://blog.csdn.net/ttm2d/article/details/102760076
To Run Generator.py, OpenGenerator.py and input Ctrl + Shift + P Or F1From keyboard, Select
Blender: Start
Blender need time for installing this script
Input Ctrl + Shift + P Or F1 From keyboard, Select
Blender: run Script
- Set Light
- Set Camera
- Render Scene to Image