orig/rlux.csh
author Axel Jacobs <axel@jaloxa.eu>
Sun, 26 Jun 2011 16:23:43 +0100
changeset 10 e5560984f7d1
parent 0 0aa115157c9c
permissions -rw-r--r--
Created all status files. Remove dummy and template.

#!/bin/csh -f
# RCSid: $Id: rlux.csh,v 2.5 2003/02/22 02:07:30 greg Exp $
#
# Compute illuminance from ray origin and direction
#
if ( $#argv < 1 ) then
	echo "Usage: $0 [rtrace args] octree"
	exit 1
endif
rtrace -i+ -dv- -h- -x 1 $argv[*]:q | rcalc -e '$1=47.4*$1+120*$2+11.6*$3' -u