Files
meowc/examples/raytracer/scenes/rings.scene
T
milner 13409a1e8b feat(examples): add shading, the threaded render loop and two scenes
Lambertian and metal shading with recursive bounces, a row-claiming loop
across worker threads, and the studio and rings scene files.
2022-07-02 12:49:50 +00:00

18 lines
738 B
Plaintext

# A ring of alternating metal and diffuse spheres around a central emitter.
camera 0 3.2 8.0 0 0.6 0 30
background 0.010 0.012 0.020
sphere 0.0 -500.0 0.0 500.0 lambert 0.55 0.55 0.58
sphere 2.60 0.55 0.00 0.55 metal 0.95 0.80 0.45 0.02
sphere 1.84 0.55 1.84 0.55 lambert 0.85 0.30 0.30
sphere 0.00 0.55 2.60 0.55 metal 0.85 0.85 0.90 0.10
sphere -1.84 0.55 1.84 0.55 lambert 0.30 0.75 0.45
sphere -2.60 0.55 0.00 0.55 metal 0.60 0.70 0.95 0.02
sphere -1.84 0.55 -1.84 0.55 lambert 0.80 0.55 0.20
sphere 0.00 0.55 -2.60 0.55 metal 0.90 0.90 0.90 0.00
sphere 1.84 0.55 -1.84 0.55 lambert 0.45 0.35 0.80
sphere 0.00 1.10 0.00 0.70 light 4.20 3.60 2.60