diff --git a/scenes/dragon.json b/scenes/dragon.json index 3cf0a4b8..bf1376de 100644 --- a/scenes/dragon.json +++ b/scenes/dragon.json @@ -18,7 +18,7 @@ "scale": 2500, "center": [-45, -135, -100], "rotation": [0, 200, 0], - "material": "white lambertian" + "material": "iridescent" }, { "kind": "Quad", @@ -55,11 +55,15 @@ } }, { - "name": "white lambertian", + "name": "iridescent", "kind": "Lambertian", "albedo": { "kind": "SolidColor", - "color": [0.8, 0.8, 0.8] + "color": [0.6, 0.6, 0.6] + }, + "thin_film": { + "refraction_index": 1.5, + "thickness": 256.0 } }, { diff --git a/scenes/iridescent.json b/scenes/iridescent.json deleted file mode 100644 index e4713928..00000000 --- a/scenes/iridescent.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "time_0": 0, - "time_1": 1, - "camera": { - "look_from": [30, 20, 10], - "look_at": [0, -1, 0], - "up": [-0.5, 1, -0.5], - "vertical_fov": 40, - "aperture": 0, - "focus_distance": 10 - }, - "background_color": [0, 0, 0], - "objects": [ - { - "kind": "Quad", - "priority": true, - "q": [-100, 80, -100], - "u": [200, 0, 0], - "v": [0, 0, 100], - "material": "lamp" - }, - { - "kind": "Boxy", - "corner_0": [-7, -7, -7], - "corner_1": [7, 7, 7], - "material": "iridescent" - } - ], - "materials": [ - { - "name": "lamp", - "kind": "DiffuseLight", - "emit": { - "kind": "SolidColor", - "color": [2.5, 2.5, 2.5] - } - }, - { - "name": "iridescent", - "kind": "Lambertian", - "albedo": { - "kind": "SolidColor", - "color": [0.8, 0.8, 0.8] - }, - "thin_film": { - "refractive_index": 1.5, - "thickness": 600.0 - } - } - ] -}