Example 9: Large SAM

Text    prepare.rib    interact.rib    interact.sl    Makefile

interact.sl

surface main( varying color Cs = 0;

)

{

Os=1;

//####

Oi = Os;

Ci = Os*Cs;

}