Skip to content

Commit

Permalink
Update scenes with textures to better povs
Browse files Browse the repository at this point in the history
  • Loading branch information
banga committed Jan 31, 2024
1 parent d3bf48b commit a368be7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions objs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- Sheep: https://quaternius.com/packs/farmanimal.html
- Bunny: https://github.com/alecjacobson/common-3d-test-models
- Dragon: https://github.com/alecjacobson/common-3d-test-models
- Staircase: https://blendswap.com/blend/14449 (deleted the rug, exported from blender and manually edited MTL to fix materials and add textures)
14 changes: 5 additions & 9 deletions scenes/museum.cry
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
num_samples: 10,
max_depth: 10,
num_samples: 16,
camera: Perspective {
origin: Point(0, 13, -4),
target: Point(0, 3, -4),
origin: Point(2, 10, -2),
target: Point(0.5, 3, -3),
up: Vector(0, 0, -1),
fov: 90,
fov: 60,
film: {
width: 800,
height: 600,
}
},
lights: [
// Infinite { intensity: Color(0.2, 0.2, 0.2) },
// Distant { direction: Vector(0, 0, -1), intensity: Color(1, 1, 1) }
],
materials: {
matte: Matte { reflectance: Color(1, 0.9, 0.8), sigma: 30 }
},
shapes: {
light: Disk { origin: Point(0, 0, -16), radius: 3, rotate_x: 180 }
light: Disk { origin: Point(0, 8, -8), radius: 1, rotate_x: 90 }
},
primitives: [
Mesh {
file_name: 'objs/local/hintze-hall/source/NHMHintzeHall01/NHMHintzeHall01.obj',
fallback_material: 'matte'
},
Shape { shape: 'light', emittance: Color(3, 3, 3) },
]
}
6 changes: 3 additions & 3 deletions scenes/room.cry
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
num_samples: 10,
num_samples: 16,
max_depth: 8,
camera: Perspective {
origin: Point(2.5, 1.1, -5),
target: Point(-2.5, 0, 0),
origin: Point(2.9, 1.5, -4),
target: Point(-5, -1.5, -1),
up: Vector(0, 1, 0),
fov: 60,
film: {
Expand Down

0 comments on commit a368be7

Please sign in to comment.