# mental ray scene file from "Writing mental ray shaders" # http://www.writingshaders.com/scene_catalog.html verbose on link "ward.so" $include "ward.mi" link "one_color.so" $include "one_color.mi" link "point_light_shadow.so" $include "point_light_shadow.mi" options "opt" object space contrast .1 .1 .1 1 samples 0 2 end options light "light" "point_light_shadow" ( "light_color" 1 1 1 ) origin 4 5 6 end light instance "light_inst" "light" end instance material "red" opaque "ward" ( "diffuse" 1 .4 .4, "glossy" 2 2 2, "shiny_u_coeff" 1, "shiny_v_coeff" 4, "lights" ["light_inst"] ) end material material "yellow" opaque "ward" ( "diffuse" .8 .7 .4, "glossy" 2 2 2, "shiny_u_coeff" 1, "shiny_v_coeff" 4, "lights" ["light_inst"] ) end material material "blue" opaque "ward" ( "diffuse" .4 .4 1, "glossy" 2 2 2, "shiny_u_coeff" 1, "shiny_v_coeff" 4, "lights" ["light_inst"] ) end material camera "cam" output "rgba" "tif" "shading_5.tif" focal 90 aperture 33.3 aspect 1.4 resolution 420 300 environment "one_color" ( "color" .3 .2 .1 ) end camera instance "camera-instance" "cam" transform 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 -8.0 1.0 end instance $include "coniral.mi" instance "coniral-inst-1" "coniral" 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 1 globillum on globillum 3 end instance $include "spheral.mi" instance "spheral-inst-1" "spheral" material "blue" 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 -1.153846 0.076923 0.307692 1.0 tag 2 globillum on globillum 3 end instance $include "cylinderal.mi" instance "cylinderal-inst-1" "cylinderal" 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.230769 1.0 tag 3 globillum on globillum 3 end instance instgroup "root" "camera-instance" "light_inst" "coniral-inst-1" "spheral-inst-1" "cylinderal-inst-1" end instgroup render "root" "camera-instance" "opt"