# mental ray scene file from "Writing mental ray shaders" # http://www.writingshaders.com/scene_catalog.html verbose on link "lambert.so" $include "lambert.mi" link "soft_spotlight.so" $include "soft_spotlight.mi" options "opt" object space contrast .1 .1 .1 1 samples 0 2 end options light "white_spotlight" "soft_spotlight" ( "inner_spread" .982 ) origin 2 2 5 direction -.75 -1 -2.3 spread .965 end light instance "light_instance" "white_spotlight" end instance material "brown" opaque "lambert" ( "diffuse" 1 .95 .7, "lights" ["light_instance"] ) end material material "red" opaque "lambert" ( "diffuse" 1 .4 .4, "lights" ["light_instance"] ) end material material "yellow" opaque "lambert" ( "diffuse" 1 1 .4, "lights" ["light_instance"] ) end material material "blue" opaque "lambert" ( "diffuse" .4 .4 1, "lights" ["light_instance"] ) end material camera "cam" output "rgba" "tif" "lights_6.tif" focal 1.5 aperture 1.25 aspect 1.33333 resolution 320 240 end camera instance "camera-instance" "cam" transform 1.0 0.0 0.0 0.0 0.0 0.926947 0.375193 0.0 0.0 -0.375193 0.926947 0.0 0.0 0.185389 -4.455966 1.0 end instance instance "cube-1" geometry "bw_cube" ("name" "cube") material "brown" transform 0.010 0.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 0.0 0.010 0.0 0.0 8.0 0.0 1.0 tag 1 globillum on globillum 3 end instance instance "cone-1" geometry "bw_cone" ("name" "bw-cone") material "yellow" transform 0.666667 0.0 0.0 0.0 0.0 0.769231 0.0 0.0 0.0 0.0 0.666667 0.0 0.266667 0.076923 -0.333333 1.0 tag 2 globillum on globillum 3 end instance instance "ball-1" geometry "bw_ball" ("name" "bw-ball") material "blue" transform 1.818182 0.0 0.0 0.0 0.0 -0.0 -1.818182 0.0 0.0 1.818182 -0.0 0.0 -1.363636 0.545455 -0.181818 1.0 tag 3 globillum on globillum 3 end instance instance "column-1" geometry "bw_cylinder" ("name" "bw-column") material "red" transform 1.538462 0.0 0.0 0.0 0.0 1.538462 0.0 0.0 0.0 0.0 1.538462 0.0 -0.384615 -0.923077 1.076923 1.0 tag 4 globillum on globillum 3 end instance instgroup "root" "camera-instance" "light_instance" "cube-1" "cone-1" "ball-1" "column-1" end instgroup render "root" "camera-instance" "opt"