# mental ray scene file from "Writing mental ray shaders" # http://www.writingshaders.com/scene_catalog.html verbose on link "store_diffuse_photon.so" $include "store_diffuse_photon.mi" link "average_radiance_options.so" $include "average_radiance_options.mi" link "spotlight.so" $include "spotlight.mi" options "opt" object space contrast .1 .1 .1 1 samples 0 2 globillum on globillum accuracy 100 .3 end options light "light" "spotlight" () origin 1 5 0 direction -.14 -1 -.1 spread .912 energy 1500 1500 1500 globillum photons 100 end light instance "light_inst" "light" end instance material "indirect" "average_radiance_options" ( "globillum_accuracy" 100, "globillum_radius" .3 ) photon "store_diffuse_photon" ( "diffuse_color" 1 .95 .85 ) end material camera "cam" output "rgba" "tif" "globillum_6.tif" focal 1.5 aperture 1 aspect 1.5 resolution 300 200 end camera instance "camera-instance" "cam" transform 1.0 0.0 0.0 0.0 0.0 0.908490 0.417906 0.0 0.0 -0.417906 0.908490 0.0 0.0 0.272547 -5.378263 1.0 end instance instance "cube-1" geometry "bw_cube" ("name" "cube") material "indirect" 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 "indirect" transform 0.223607 -0.447214 -0.866025 0.0 -0.894427 -0.447214 0.0 0.0 -0.387298 0.774597 -0.50 0.0 0.085525 -0.789083 -0.592820 1.0 tag 2 globillum on globillum 3 end instance instance "ball-1" geometry "bw_ball" ("name" "bw-ball") material "indirect" 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.636364 0.545455 -0.0 1.0 tag 3 globillum on globillum 3 end instance instance "column-1" geometry "bw_cylinder" ("name" "bw-column") material "indirect" transform 1.812616 -0.845237 0.0 0.0 0.0 -0.0 -2.0 0.0 0.845237 1.812616 -0.0 0.0 -1.111022 -1.909353 -0.50 1.0 tag 4 globillum on globillum 3 end instance instance "square-1" geometry "bw_square" () material "indirect" transform 0.010 0.0 0.0 0.0 0.0 -0.0 0.010 0.0 0.0 -0.010 -0.0 0.0 0.0 -0.0 0.0050 1.0 tag 5 globillum on globillum 3 end instance instgroup "root" "camera-instance" "light_inst" "cube-1" "cone-1" "ball-1" "column-1" "square-1" end instgroup render "root" "camera-instance" "opt"