##RenderMan RIB-Structure 1.0 version 3.03 # #----- Basic setup # Projection "perspective" Display "fisheye_150.tiff" "tiff" "rgb" ScreenWindow -1 1 -1 1 Format 480 480 1 Clipping 0.049 1000.0 # #----- Start # WorldBegin # #----- Fisheye lens polygon just beyond the near clip plane # - fills screen # - uses fjs_fisheyelens shader # Declare "lens_angle" "uniform float" Declare "zdistance" "uniform float" Declare "scale" "uniform float" Surface "fjs_fisheyelens" "lens_angle" [150] "zdistance" [0.05] "scale" [0.05] Polygon "P" [0.05 0.05 0.05 0.05 -0.05 0.05 -0.05 -0.05 0.05 -0.05 0.05 0.05] # #----- Set the rest of the geometry to be visible in raytraced reflections/refractions # # BMRT - Attribute "render" "integer visibility" [3] # Entropy - Attribute "visibility" "integer reflection" [1] # PRman - Attribute "visibility" "integer trace" [1] # Attribute "visibility" "integer reflection" [1] # Surface "constant" Color [1 0 0] Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate -90 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd TransformBegin Rotate 90 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd Color [0 1 0] TransformBegin Rotate -30 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd TransformBegin Rotate 30 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd Color [0 0 1] TransformBegin Rotate -60 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd TransformBegin Rotate 60 0 1 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformBegin Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate -30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformBegin Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] Rotate 30 1 0 0 Polygon "P" [0.5 0.5 10 0.5 -0.5 10 -0.5 -0.5 10 -0.5 0.5 10] TransformEnd TransformEnd WorldEnd