[Radiance-general] rtrace vs rcontrib
Mario Geiger
geiger.mario at gmail.com
Tue Sep 2 03:43:14 PDT 2014
Hello,
I would like to understand why *rtrace* and *rcontrib* are so different.
I ran the two programs as following.
oconv window.rad office.rad > scene.oct
echo "1.8 *y* 1 0 0 1" | rtrace -w -h -I option -n 4
scene.oct
echo "1.8 *y* 1 0 0 1" | rcontrib -w -h -I+ -m windowglow option -n 4
scene.oct
where option = -ab 5 -ad 1024 -as 256 -lw 1e-5 -dj 0 -ds .5 -dt .5 -dc .25
-dr 3 -dp 64 -st .85 -aa .1 -ar 32 -lr 4
My scene is a simple box 3.6 x 8.2 x 2.8 meters with a "window" as a role
of a light source. I put the *.rad files in attachment.
By varying *y* the distance from the "window" in the box I get the
following results.
Also it takes much longer to run *rtrace* than *rcontrib* :
*rtrace* : Elapsed time is 475.741 seconds.
*rcontrib* : Elapsed time is 1.10356 seconds.
To compute all the 50 points.
Why don't I get the same result in the same time ?
Thanks for your time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140902/69cecc5b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windowglow.jpeg
Type: image/jpeg
Size: 47026 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140902/69cecc5b/attachment-0002.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windowglow.jpeg
Type: image/jpeg
Size: 47026 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140902/69cecc5b/attachment-0003.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: office.rad
Type: application/octet-stream
Size: 805 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140902/69cecc5b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window.rad
Type: application/octet-stream
Size: 127 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140902/69cecc5b/attachment-0003.obj>
More information about the Radiance-general
mailing list