Download as a group | cyl_emissive.ray Purpose: Test for the emissive term Settings: Image: Code: SBT-raytracer 1.0 // cyl_emissive.ray // purpose: Test for the emissive term // ambient: 0 camera { position = (5, 0, 0); viewdir = (-1, 0, 0); updir = (0, 1, 0); } // This scene doesn't need any lights at all // since the material on the cylinder is // emissive. Render it with an ambient light // intensity of 0. // The cylinder should turn out a solid red. rotate( 1, 0, 0, 1.6, rotate( 0, 1, 0, -0.5, cylinder { material = { emissive = (0.5, 0, 0); } } ) ) |