[Radiance-general] Could RTRACE produce two outputs (picture and values)?

Laarhoven, M. van m.v.laarhoven at student.tue.nl
Thu Mar 28 07:24:34 PDT 2013


Dear all,

Just a short question, unfortunately I wasn't able to find the answer on the Radiance-community:

Is it possible to create two outputs using RTRACE:

-          a .hdr picture and

-          a text file containing illuminance values.

In case of a virtual plane, rtrace has to be used instead of rpict (as explained in the Radiance Tutorial). Now, I'm doing the same simulation twice in order to get 2 outputs which takes a lot of time. Isn't it possible to create 2 outputs through only 1 simulation?
If not, could pvalue help me on this one? And if yes, how? Or would pvalue only would give me luminance values?


First simulation:
echo "     Rtrace illuminance "
vwrays -x $Dims -y $Dims -vf viewfile.vf \
| rcalc -e '$1=$1; $2=$2; $3=0.75; $4=$4; $5=$5; $6=1' \
| rtrace -w -ab 3 -fac -I -ov `vwrays -d -vf viewfile.vf -x $Dims -y $Dims` scene.oct >  Outcome.hdr

Second simulation:
echo "     Rtrace illuminance values "
vwrays -x $Dimstable -y $Dimstable -vf viewfile.vf \
| rcalc -e '$1=$1; $2=$2; $3=$3; $4=$4; $5=$5; $6=1' \
| rtrace -w -I -h -ov -ab 2 `vwrays -d -vf viewfile.vf -x $Dims -y $Dims` scene.oct | rcalc -e '$1=$1*179' > Outcome.txt


Thanks in advance for your help!

Best regards,
Mirjam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130328/d9ed8e72/attachment-0001.html>


More information about the Radiance-general mailing list