# mental ray scene file from "Writing mental ray shaders" # http://www.writingshaders.com/scene_catalog.html verbose on link "displace_ripple.so" $include "displace_ripple.mi" link "lambert.so" $include "lambert.mi" options "opt" object space contrast .1 .1 .1 1 samples 0 2 max displace .01 end options light "light" "mib_light_point" ( "color" 1 1 1 ) origin -2 2 0 end light instance "light_inst" "light" end instance material "ripple" opaque "lambert" ( "diffuse" 1 1 1, "lights" ["light_inst"] ) displace "displace_ripple" ( "center" .3 .5 0, "frequency" 16, "amplitude" .005 ) end material camera "cam" output "rgba" "tif" "displace_3.tif" focal 1.5 aperture 1 aspect 1.70213 resolution 400 235 end camera instance "camera-instance" "cam" transform 1.0 0.0 0.0 0.0 0.0 0.801130 0.598491 0.0 0.0 -0.598491 0.801130 0.0 0.0 0.056079 -2.080109 1.0 end instance instance "square-1" geometry "bw_square" () material "ripple" transform 1.0 0.0 0.0 0.0 0.0 -0.0 -1.0 0.0 0.0 1.0 -0.0 0.0 0.0 0.0 0.0 1.0 tag 1 globillum on globillum 3 end instance instgroup "root" "camera-instance" "light_inst" "square-1" end instgroup render "root" "camera-instance" "opt"