Example 4: Surface Attribute Mesh

Text    hb_plastic.sl    prepare.rib    Makefile    interact.sl    interact.rib

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