Option "ribparse" "string varsubst" ["$"]
IfBegin "!defined(RMSTREE)"
    Option "user" "string RMSTREE" ["/Applications/Pixar/RenderManForMaya-21.0-maya2016"]
IfEnd
Option "searchpath" "shader"    ["../../maya/projects/RfM_osl:@"]
Option "searchpath" "rixplugin" ["${RMSTREE}/lib/shaders:@"]
Option "searchpath" "texture"   ["../textures:@"]
Option "searchpath" "archive"   ["../archives:Cutter_Help/templates/Rib:custom_templates/Rib"]
#Option "statistics" "endofframe" [1]
  
Hider "raytrace" "int incremental" [1] "int minsamples" [0] "int maxsamples" [128] "float darkfalloff" [0.025]
Integrator "PxrPathTracer" "PxrPathTracer" "int maxPathLength" [10] "int allowCaustics" [0]
PixelVariance 0.05
  
Format 550 300 1
Display "untitled" "it" "rgba"
Projection "perspective" "fov" [40]
  
Translate 0 -0.8 4.7
Rotate -30 1 0 0
Rotate 45  0 1 0
Scale 1 1 -1
#DisplayFilter "PxrBackgroundDisplayFilter" "background" "color backgroundColor" [1 1 1]
WorldBegin
    Bxdf "PxrConstant" "default"
    TransformBegin
        Translate 0 0.01 0
        Scale 1 1 1
        ReadArchive "cutrAxes.rib"
    TransformEnd
  
    AttributeBegin
        Rotate  0 0 1 0  # oribital
        Rotate -90 1 0 0 # elevation
        Translate 0 0 8  # dolly
        Scale 2 1 2
  
        Attribute "visibility" "int indirect" [0] "int transmission" [0]
        Attribute "visibility" "int camera" [0]
        Rotate 180 0 1 0 # do not change
        Light "PxrRectLight" "PxrRectLightShape4"
                "float exposure" [7]
                "color lightColor" [1 1 1]
                "float coneAngle" [90]
                "int enableShadows" [1]
                "color shadowColor" [0 0 0]
    AttributeEnd
    AttributeBegin
        # Again, note the use of these attributes
        Attribute "dice" "hair" [1]
        Attribute "stochastic" "int sigma" [1]
        ReadArchive "geo/b_spline.rib"
        Rotate -90 0 1 0
        ReadArchive "geo/b_spline.rib"
        Rotate -90 0 1 0
        ReadArchive "geo/b_spline.rib"
        Rotate -90 0 1 0
        ReadArchive "geo/b_spline.rib"
  
    AttributeEnd
    AttributeBegin
        Scale 50 1 50
        Bxdf "PxrSurface" "PxrSurface1" "color diffuseColor" [.9 .9 .9]
        Polygon "P" [-0.5 0 -0.5  -0.5 0 0.5  0.5 0 0.5  0.5 0 -0.5]
                "st" [0 0  0 1  1 1  1 0]
    AttributeEnd
WorldEnd