75 lines
1.3 KiB
TOML
75 lines
1.3 KiB
TOML
[scene]
|
|
width = 768
|
|
height = 512
|
|
subsamples = 100
|
|
|
|
[camera]
|
|
lookfrom = [0.0, 50.0, 100.0]
|
|
lookat = [0.0, 10.0, 0.0]
|
|
fov = 45
|
|
aperture = 0.0
|
|
focus_dist = 10.0
|
|
time_min = 0.0
|
|
time_max = 1.0
|
|
|
|
[[materials]]
|
|
name = "light1"
|
|
type = "isotropic"
|
|
texture = [20, 10, 10]
|
|
[[materials]]
|
|
name = "yellow"
|
|
type = "isotropic"
|
|
texture = [1, 1, 0]
|
|
[[materials]]
|
|
name = "magenta"
|
|
type = "lambertian"
|
|
texture = [1, 0, 1]
|
|
[[materials]]
|
|
name = "green"
|
|
type = "diffuse_light"
|
|
texture = [0, 1, 0]
|
|
[[materials]]
|
|
name = "metal"
|
|
type = "metal"
|
|
albedo = [1, 1, 1]
|
|
fuzzy = 0
|
|
[[materials]]
|
|
name = "glass"
|
|
type = "dielectric"
|
|
ref_idx = 1.5
|
|
|
|
|
|
[[hitables]]
|
|
type = "sphere"
|
|
center = [-30.0, 0.0, 0.0]
|
|
radius = 10
|
|
material_name = "yellow"
|
|
[[hitables]]
|
|
type = "sphere"
|
|
center = [30.0, 0.0, 0.0]
|
|
radius = 10
|
|
material_name = "green"
|
|
[[hitables]]
|
|
type = "sphere"
|
|
center = [0.0, -10.0, 0.0]
|
|
radius = 10
|
|
material_name = "metal"
|
|
[[hitables]]
|
|
type = "sphere"
|
|
center = [0.0, 0.0, -30.0]
|
|
radius = 10
|
|
material_name = "magenta"
|
|
[[hitables]]
|
|
type = "stl"
|
|
path = "/net/nasx.h.xinu.tv/x/3dprint/stl/stanford_dragon.stl"
|
|
scale = 200
|
|
material_name = "glass"
|
|
#[[hitables]]
|
|
#type = "sphere"
|
|
#center = [0.0, 50.0, -100.0]
|
|
#radius = 10
|
|
#material_name = "light1"
|
|
|
|
[envmap]
|
|
path = "/home/wathiede/src/xinu.tv/raytracers/rtiow/renderer/images/52681723945_e1d94d3df9_6k.jpg"
|