Example 6: SAM Trick Hybrid

Text    prepare.rib    interact.rib    trick.rib    Makefile

prepare.rib

Option "searchpath" "shader" ["&:.:../../lib/prman:../../shaders/plain"]

 

Format 640 480 1

 

Hider "hidden" "jitter" [0]

 

FrameBegin 0

 

ShadingRate 1

 

Display "prepare.tif" "tiff" "rgba"

 

Option "user" "uniform string interact_stream_filename" [ "scene.hbsas" ]

 

Attribute "cull" "hidden" 0

Attribute "cull" "backfacing" 0

Attribute "dice" "rasterorient" 0

 

ReadArchive "../lib/view.rib"

WorldBegin

 

ReadArchive "../lib/lights.rib"

 

Attribute "visibility" "string transmission" ["opaque"]

Attribute "visibility" "int trace" [1]

Attribute "trace" "displacements" 1

 

ReadArchive "../lib/scene_object2.rib"

ReadArchive "../lib/scene_object3.rib"

 

WorldEnd

FrameEnd