#version HMCCS155FALL2002 /* * no lights, just tests for raycasting and intersection testing * with two basic primitives. should see a sphere on the left, * triangle on the right, both green */ #background 0.0 0.0 0.0 #ambient 0.5 0.5 0.5 #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 #material -n mSimple -- 0.1 0.6 0.3 // ambient 0.0 0.0 0.0 // diffuse 0.0 0.0 0.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