UNPKG

raytracer-node

Version:

An Node.js interface to a C++ Raytracing Engine

15 lines (14 loc) 485 B
eye -20 0.25 0 look 1 0 0 up 0 1 0 d -10 bounds -16 16 -9 9 res 1920 1080 sphere 10000000020 0 0 10000000000 0.3 0.3 0.8 sphere 0 10000000020 0 10000000000 0.9 0.9 0.9 sphere 0 0 -10000000020 10000000000 0.3 0.8 0.3 sphere 0 0 10000000020 10000000000 0.8 0.3 0.3 sphere 8 -12.1 -7 8 0.8 0.8 0.8 glass sphere 12 -12.1 5 8 0.8 0.8 0.8 mirror model 1.0 0.0 0.0 90 20 5 -20 0 0 ExampleDriverFiles/Spheres/CheckerBoard.obj model 0 0 1 90 0.8 7 22.1 0 0 ExampleDriverFiles/Spheres/Light.obj