- rewrite json2obj.py to process the updated 3D-FRONT (partial open source interior finish with texture) and add new features.
-
Input: scene json
- scene json file, *.json
-
Ouput: camera json
- camera parameters(list) json file, *.json
-
Parse the information in the scene json, including layouts, floors, furnitures , and generate camera parameters by these information.
-
The camera parameters can be used to render scenes.
-
Bedroom:referred by bed
-
DiningRoom:referred by dining-table
-
LivingRoom:referred by main-sofa
python run.py --input=scene.json --output=path/camera.json
- pos: camera position
- target: camera viewer
- fov: viewer angles
- The camera parameters maybe are not that good in some cases, they are some kinds of coarse solutions. You can take them as initial solutions and adjust them.