#version HMCCS155FALL2002 /* * single point light on sphere and triangle. both should have specular * highlights and both should be mostly lit. */ #background 0.0 0.0 0.0 #ambient 0.0 0.0 0.0 #camera -3.0 0.0 0.0 // position 1.0 0.0 0.0 // facing 0.0 1.0 0.0 // up 30.0 // heightAngle #light_point -n PointLight1 -- 1.0 1.0 1.0 // color -1.0 -1.0 1.0 // position 1.0 0.0 0.0 // const, linear, quad attenuation #material -n mSimple -- 0.1 0.6 0.3 // ambient 0.1 0.6 0.3 // diffuse 1.0 1.0 1.0 // specular 0.0 0.0 0.0 // emissive 0.9 0.0 0.0 // kspec ktrans refind #sphere -n Sphere1 -m mSimple -- 2.0 0.0 -1.5 // position 1.0 // radius #triangle -n Triangle1 -m mSimple -- 1.0 0.0 0.0 // v0 1.0 -1.0 1.5 // v1 1.0 1.0 1.5 // v2 #rayfile_end