Example 9: Large SAM

Text    prepare.rib    interact.rib    interact.sl    Makefile

interact.rib

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

 

Projection "perspective" "fov" [34]

 

Transform [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0.3 2 1 ]

Rotate -20 1 0 0

 

 

FrameBegin 1

WorldBegin

 

 

Attribute "identifier" "string name" ["mixer"]

 

Surface "interact.sl"

 

Attribute "identifier" "string name" ["geometry"]

 

Geometry "surface_attribute_mesh" "filename" ["scene.hbsam"]

 

 

WorldEnd

FrameEnd