Dear all,
I’m trying to calculate illuminance on a (dynamic) grid of points in a given space, this is thoroughly explained in the Radiance Cookbook, and I have this implemented and working for quite some time. However, now I would like to do the same, but with a sensor with a limited field of view (i.e. a cut-off). Now I’ve already scoured these boards a bit and found 2 solutions of which the first is to simply create a black cone and the second using rsensor. However, the solutions I’ve seen generally only discuss its application on a single point whereas I would like to do this (dynamically) on a grid of calculation points.
The cones would of course be the most straightforward, but it would require me to ‘litter’ the model with dozens of small black cones and as I’m using this ‘shielded detector’ in multiple directions, it would require a new model for each direction of calculation.
The rsensor option seems to be the more elegant approach, however, I struggle a bit with how I would make rtrace (or rsensor directly) execute this on a grid of points.
For reference, this is a short version of my current setup to calculate horizontal illuminance. Note, no output format is specified as I ready the output directly into python.
cnt 20 30 | rcalc -e ‘$1=$1pitchx; $2=$2pitchy;$3=workplaneheight;$4=0;$5=0;$6=1’
| rtrace -n 8 -af calc.cache [rtrace options] -I -h -oov octree
| rcalc -e '$1=$1; $2=$2; $3=$3; $4=179*(.265*$4+.670*$5+.065*$6)
So the question, how do I/can I get this to work with a shielded sensor?
Thanks in advance!