# 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 "glossy_reflection_sample_varying.so" $include "glossy_reflection_sample_varying.mi" link "texture_uv.so" $include "texture_uv.mi" link "point_light.so" $include "point_light.mi" link "one_color.so" $include "one_color.mi" options "opt" object space samples 0 2 shadow off contrast .1 .1 .1 1 trace depth 8 8 8 end options color texture "octatile" "octatile.tif" light "white_light" "point_light" ( "light_color" 1.2 1.2 1.2 ) origin 0 2 0 end light instance "light_instance" "white_light" end instance material "reflect" opaque "glossy_reflection_sample_varying" ( "samples" [100, 4, 1], "shiny" 20 ) end material shader "octatile_pattern" "texture_uv" ( "tex" "octatile", "u_scale" 100, "v_scale" 100 ) material "tile" opaque "lambert" ( "diffuse" = "octatile_pattern", "lights" ["light_instance"] ) end material shader "enviro" "one_color" ("color" 1 1 .9) camera "cam" output "rgba" "tif" "reflection_11.tif" focal 90 aperture 33.3 aspect 1.5 resolution 300 200 environment "one_color" ( "color" 1 1 .9 ) end camera instance "camera-instance" "cam" transform 1.0 0.0 0.0 0.0 0.0 0.957826 0.287348 0.0 0.0 -0.287348 0.957826 0.0 0.0 0.0 -5.220153 1.0 end instance instance "cube-1" geometry "bw_cube" ("name" "cube") material "tile" transform -0.010 0.0 -0.0 0.0 0.0 100.0 0.0 0.0 0.0 0.0 -0.010 0.0 0.0 30.0 0.0 1.0 tag 1 globillum on globillum 3 end instance instance "cube-2" geometry "bw_cube" ("name" "cube") material "reflect" transform 1.732051 0.0 -1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.732051 0.0 0.592820 0.0 -0.573205 1.0 tag 2 globillum on globillum 3 end instance instance "cube-3" geometry "bw_cube" ("name" "cube") material "reflect" transform 1.732051 0.0 1.0 0.0 0.0 1.0 0.0 0.0 -1.0 0.0 1.732051 0.0 -0.592820 0.0 -0.573205 1.0 tag 3 globillum on globillum 3 end instance instgroup "root" "camera-instance" "light_instance" "cube-1" "cube-2" "cube-3" end instgroup render "root" "camera-instance" "opt"