raytracer-node
Version:
An Node.js interface to a C++ Raytracing Engine
26 lines (18 loc) • 526 B
Plain Text
eye 0 0.25 -30
look 0 0 1
up 0 1 0
d -10
bounds -10 10 -10 10
res 1000 1000
# Front / Back
sphere 0 0 -10000000030 10000000000 0.3 0.3 0.8
sphere 0 0 10000000020 10000000000 0.3 0.3 0.8
# Bottom / Top
sphere 0 -10000000020 0 10000000000 0.9 0.9 0.9
sphere 0 10000000020 0 10000000000 0.9 0.9 0.9
sphere 0 59.5 0 40 1.5 1.5 1.5 light
# Left / Right
sphere -10000000020 0 0 10000000000 0.3 0.8 0.3
sphere 10000000020 0 0 10000000000 0.8 0.3 0.3
sphere -7 -17.1 0 3 0.8 0.8 0.8 glass
sphere 5 -17.1 5 3 0.8 0.8 0.8 mirror