From b413b74a78faea0fce56fdc86f96178aaf7babd7 Mon Sep 17 00:00:00 2001 From: Z Guan Date: Sat, 18 Apr 2020 21:20:21 +0800 Subject: [PATCH] update .gitignore --- .gitignore | 1 + scene/cornell_box.json | 252 ----------------------------------------- 2 files changed, 1 insertion(+), 252 deletions(-) delete mode 100644 scene/cornell_box.json diff --git a/.gitignore b/.gitignore index a7381d81..6842a1b1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ doc/doc.html doc/doc-cn.html lib/embree lib/oidn +scenes/ nohup.out diff --git a/scene/cornell_box.json b/scene/cornell_box.json deleted file mode 100644 index f250116f..00000000 --- a/scene/cornell_box.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "scene": { - "type": "default", - "entities": [ - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 0, 0, 0 ], - "B": [ 0, 0, 1 ], - "C": [ 0, 1, 1 ], - "D": [ 0, 1, 0 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0.9, 0, 0 ] - } - } - }, - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 0, 1, 0 ], - "B": [ 0, 1, 1 ], - "C": [ 1, 1, 1 ], - "D": [ 1, 1, 0 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0.9 ] - } - } - }, - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 0, 0, 0 ], - "B": [ 0, 1, 0 ], - "C": [ 1, 1, 0 ], - "D": [ 1, 0, 0 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0.9 ] - } - } - }, - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 1, 1, 0 ], - "B": [ 1, 1, 1 ], - "C": [ 1, 0, 1 ], - "D": [ 1, 0, 0 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0, 0.9, 0 ] - } - } - }, - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 0.7, 1, 0 ], - "B": [ 0.7, 1, 0.5 ], - "C": [ 0.7, 0, 0.5 ], - "D": [ 0.7, 0, 0 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0.9 ] - } - } - }, - { - "type": "geometric", - "geometry": { - "type": "double_sided", - "internal": { - "type": "quad", - "A": [ 0, 0, 1 ], - "B": [ 0, 1, 1 ], - "C": [ 1, 1, 1 ], - "D": [ 1, 0, 1 ], - "tA": [ 0 ], - "tB": [ 0 ], - "tC": [ 0 ], - "tD": [ 0 ], - "transform": [] - } - }, - "material": { - "type": "ideal_diffuse", - "albedo": { - "type": "constant", - "texel": [ 0.9 ] - } - } - }, - { - "type": "diffuse", - "geometry": { - "type": "sphere", - "radius": 0.1, - "transform": [ - { - "type": "translate", - "offset": [ 0.2, 0.4, 0.1 ] - } - ] - }, - "radiance": [ 2.5 ] - }, - { - "type": "geometric", - "geometry": { - "type": "sphere", - "radius": 0.1, - "transform": [ - { - "type": "translate", - "offset": [ 0.5, 0.4, 0.1 ] - } - ] - }, - "material": { - "type": "glass", - "color_map": { - "type": "constant", - "texel": [ 0.95 ] - }, - "ior": { - "type": "constant", - "texel": [ 1.5 ] - } - }, - "material//": { - "type": "disney", - "base_color": { - "type": "constant", - "texel": [ 0.6 ] - }, - "metallic": { - "type": "constant", - "texel": [ 0 ] - }, - "roughness": { - "type": "constant", - "texel": [ 0.2 ] - }, - "transmission": { - "type": "constant", - "texel": [ 1 ] - } - } - } - ] - }, - "rendering": { - "camera": { - "type": "thin_lens", - "pos": [ 0.5, -4, 0.5 ], - "dst": [ 0.5, 0, 0.5 ], - "up": [ 0, 0, 1 ], - "fov": 15 - }, - "film_filter": { - "type": "box", - "radius": 0.5 - }, - "width": 640, - "height": 640, - "renderer": { - "type": "bdpt", - "spp": 16 - }, - "reporter": { - "type": "stdout" - }, - "post_processors": [ - { - "type": "save_to_img", - "inv_gamma": 2.2, - "filename": "${scene-directory}/output_original.png" - }, - { - "type": "oidn_denoiser" - }, - { - "type": "save_to_img", - "filename": "${scene-directory}/output.png", - "inv_gamma": 2.2, - "open": false - } - ] - } -}