bs-trace 0.3.0

Free RayTracing software
Documentation
1
2
3
4
5
6
7
meta.version = 1
objects = [
    { type = "sphere", position = { x = 1.8, y = 0.2, z = 5.0 }, radius = 0.9, material = { type = "metal", colour = { r = 0.8, g = 0.5, b = 0.5 }, fuzz = 0.05 } },
    { type = "sphere", position = { x = -2.0, y = 0.7, z = 5.0 }, radius = 0.8, material = { type = "metal", colour = { r = 0.5, g = 0.5, b = 0.8 }, fuzz = 0.3 } },
    { type = "sphere", position = { x = -0.1, y = -0.1, z = 3.0 }, radius = 0.7, material = { type = "lambertian", colour = { r = 0.5, g = 0.8, b = 0.5 } } },
    { type = "sphere", position = { x = 0.0, y = -100.8, z = 0.0 }, radius = 100.0, material = { type = "lambertian", colour = { r = 0.5, g = 0.5, b = 0.5 } } }
]