- Create obj+mtl files following the instructions in SUNCGToolbox. Note that the whole dataset is very large. Doing this for dozens or hundreds of houses is fine and probably enough for most tasks.
- Organize the dataset into this structure:
SUNCG/
house
00065ecbdd7300d35ef4328ffe871505/
house.json
house.mtl
house.obj
...
texture/
*.jpg
-
Compile the renderer and confirm it works, see renderer/README.md for compilation details.
-
To be able to
import House3D
, add/path/to/House3DRepo
toPYTHONPATH
. Alternatively, runpip install --user .
.
See tests/test-rendering.py
for usage of rendering API.
See tests/test-env.py
for an example use of the environment API.
Both will give you an agent in the environment with interactive keyboard control.