Example 9: Large SAM

Text    prepare.rib    interact.rib    interact.sl    Makefile

Makefile

include ../Makeinclude

 

 

run: all

${INTERACT} interact.rib

 

all: scene.hbsam

 

 

scene.hbsam: scene.hbsas

hb_interact_sas_to_sam scene.hbsas scene.hbsam

 

scene.hbsas: hb_plastic.${SLO} prepare.rib

${RENDER} prepare.rib

 

 

hb_plastic.${SLO}: hb_plastic.sl

${SHADER} ${SHADER_DSO_OPTIONS} hb_plastic.sl