Skip to content

Commit

Permalink
Adjust materials scene to match the original look more
Browse files Browse the repository at this point in the history
  • Loading branch information
banga committed Jan 25, 2024
1 parent 4885ea6 commit 6df7ffe
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions scenes/materials.cry
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
num_samples: 1000,
camera: Perspective {
origin: Point(-15, 10, 15),
target: Point(0, -2.5, 1),
up: Vector(0, 1, 0),
fov: 30,
lens_radius: 0.25,
focal_distance: 22,
origin: Point(-15, 15, 50),
target: Point(0, -2, 1),
up: Vector(-0.05, 1, 0),
fov: 12.5,
film: {
width: 640,
height: 416,
Expand Down Expand Up @@ -102,8 +100,8 @@
},
shapes: {
light: Sphere {
origin: Point(10, 20, 10),
radius: 10
origin: Point(10, 10, 10),
radius: 5
},

ground: Sphere {
Expand Down Expand Up @@ -180,7 +178,7 @@
},
},
primitives: [
Shape { shape: 'light', emittance: Color(4, 4, 4) },
Shape { shape: 'light', emittance: Color(8, 8, 8) },
Shape { shape: 'ground', material: 'ground' },

Shape { shape: 'matte1', material: 'matte1' },
Expand Down

0 comments on commit 6df7ffe

Please sign in to comment.