[Radiance-general] Re: falsecolor's isolux on observer's luminance.

Greg Ward gward at lmi.net
Sun Feb 10 11:11:55 PST 2008


Correction -- missed a step (pvalue):

% vwrays -ff -vf ortho.vf -x XRES -y YRES -pa 0 \
	| rtrace -h -ff -op roadway.oct > roadpts.flt
% rcalc -if3 -of -e '$1=OX;$2=OY;$3=OZ;$4=$1-OX;$5=$2-OY;$6=$3-OZ'  
roadpts.flt \
	| rtrace -ff -opv -x XRES -y YRES roadway.oct \
	| rlam -if3 roadpts.flt -if6 - \
	| rcalc -if9 -of -e 's(x):x*x;OK=0.2-s($1-$4)-s($2-$5)-s($3-$6)' \
		-e '$1=if(OK,$7,0);$2=if(OK,$8,0);$3=if(OK,$9,0)' \
	| pvalue -r -df -h -Y YRES +X XRES \
	| falsecolor -cl -s auto \
	| ra_tiff - roadway_lum.tif
% rm roadpts.flt

Sorry about that.  It looks like a mess, but basically I'm just  
checking intersection values against the ones you get from your  
orthogonal view, and I need rcalc for that.  All the -if's and -of's  
make it run faster, but aren't really necessary.

-Greg



More information about the Radiance-general mailing list