examples: move OBJ-related files to subdirectory

This commit is contained in:
Bruno BELANYI 2020-03-29 19:44:12 +02:00
parent 4593e276c4
commit aa47b54e4c
3 changed files with 3 additions and 1 deletions

View file

@ -17,6 +17,8 @@ lights:
color: {r: 1.0, g: 1.0, b: 1.0}
meshes:
- obj_file: "pathtracer/examples/cornell-box.obj"
# FIXME: make the path relative to the YAML in some way?
# Easiest solution would be to chdir to the YAML's directory
- obj_file: "pathtracer/examples/objs/cornell-box.obj"
translation: [0.0, 0.0, 1.0]
rotation: [0, 180, 0]