#
#	STANDARD RADIANCE MAKEFILE
#
#	Simon Crone	May 93
#	crones@puffin.curtin.edu.au

SCENE = example

MATS =
RADS = $(SCENE).rad

VIEW = -vf exmp.vp
RES = -x 400 -y 400

COMM_FLAGS = -dr 0 -av .08 .08 .08 

default:	$(SCENE).oct

$(SCENE).oct:	$(MATS) $(RADS)
	oconv $(MATS) $(RADS) > $(SCENE).oct

rview:	$(SCENE).oct
	rview $(VIEW) $(COMM_FLAGS) $(SCENE).oct

rpict:	$(SCENE).oct
	rpict $(VIEW) $(RES) $(COMM_FLAGS) $(SCENE).oct > $(SCENE).pic`

clean:
	rm -f $(SCENE).oct $(SCENE).pic

