/usr/share/aqsis/examples/features/shadows/softshadow.rib is in aqsis-examples 1.6.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | ##RenderMan RIB-Structure 1.0
#version 3.03
Option "searchpath" "shader" ["../../../shaders/light:../../../shaders/displacement:../../../shaders/surface:&"]
Option "limits" "bucketsize" [32 32]
Option "limits" "eyesplits" [10]
Declare "bias" "float"
Hider "hidden" "depthfilter" "midpoint"
# Output Z data only
Display "softshadow.zfile" "zfile" "z"
Clipping 0.01 10
Sides 2
Format 256 256 1
PixelFilter "box" 1 1
PixelSamples 1 1
ShadingRate 2
FrameBegin 1
# Placecam camera transform
Projection "perspective" "fov" [57.30]
Rotate -35.26 1.00 0.00 0.00
Rotate 45.00 0.00 1.00 0.00
Translate -5.00 -5.00 5.00
WorldBegin
Surface "null"
Sphere 1 -1 1 360
WorldEnd
FrameEnd
MakeShadow "softshadow.zfile" "softshadow.shad"
#
#
# Now render the scene using the shadow map just calculated.
#
#
Display "softshadow.tif" "file" "rgba"
Display "+softshadow.tif" "framebuffer" "rgb"
Format 480 360 1
PixelFilter "gaussian" 2 2
PixelSamples 2 2
Clipping 0.2 10
ShadingRate 1
FrameBegin 2
Projection "perspective" "fov" 45
Translate 0 0 5
Rotate -20 1 0 0
Declare "shadowname" "uniform string"
Declare "blur" "uniform float"
WorldBegin
LightSource "ambientlight" 0 "intensity" [0.2]
LightSource "shadowspot" 1 "intensity" [75] "from" [5 5 -5] "to" [0 0 0] "coneangle" [0.5] "shadowname" ["softshadow.shad"] "blur" [0.03]
Color [0.4 0.4 0.1]
Surface "matte"
Sphere 1 -1 1 360
Orientation "rh"
Color [0.5 0 0]
Patch "bilinear" "P" [-10 -1 -10
10 -1 -10
-10 -1 10
10 -1 10]
WorldEnd
FrameEnd
|