[Radiance-general] Example 2 of three-phase method

Wang Clarence wangjuncwz at hotmail.com
Wed Oct 18 05:37:21 PDT 2017


Dear all,

I run the commands of example 2 of three-phase method in tutorial and was stuck with some problems, especially the daylight matrix and dctimestep.

1. When I tried the command below, it actually created a bad .dmx file which I could not open.

#genklemsamp -vd 0 -1 0 objects/south_window.rad | rcontrib -c 500 -e MF:2 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faf model2_dmx.oct > results/south2.dmx

But I replaced "-faf" by "-faa", the "south2.dmx" could be successfully rendered. Its header was showed below:
#?RADIANCE
oconv materials/testroom2.mat objects/testroom2.rad objects/ground2.rad skies/sky_white1.rad
rcontrib -c 500 -e MF:2 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faa
SOFTWARE= RADIANCE 5.1 lastmod Wed Aug 30 10:22:48 HKT 2017 by root on clarence-ThinkCentre-M900
CAPDATE= 2017:10:18 17:49:26
GMT= 2017:10:18 09:49:26
NCOMP=3
NCOLS=578
FORMAT=ascii

2. I continued to try the command by using "dctimestep" like tutorial say  in order to render the image. But it reacted : fatal-unexpected column count in header. How to solve this problem?

#gensky 3 21 10 | genskyvec -m 4 -c 1 1 1 > skies/3_21_10.skv

#dctimestep images/vmx/window_east_%03d.hdr data/singleclear.xml results/east2.dmx skies/3_21_10.skv > images/3_21_10_clear.hdr

By the way, the "results/east2.dmx" was created by using the "-faa" in the previous command.

Thanks,

Clarence



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20171018/e0a1cc17/attachment.html>


More information about the Radiance-general mailing list