Example 2 of three-phase method

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

Hi Clarence,

Which tutorial are you using? A few of the programs have changed slightly, and we generally recommend rfluxmtx over rcontrib for most calculations, as it is much simpler to use and therefore less error-prone. You should use the new tutorial by Sarith, which was just recently posted to our website:

  https://www.radiance-online.org/learning/tutorials/matrix-based-methods

This is an advanced tutorial, but it starts with the basics and quickly moves through each of the methods. There is also an associated set of input files here:

  https://www.radiance-online.org/learning/tutorials/radTutorialFiles-master.zip

Best,
-Greg

···

From: Wang Clarence <[email protected]>
Date: October 18, 2017 5:37:21 AM PDT

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

Hi Greg,

I am using "The Three-Phase Method / Five-Phase for Simulating Complex Fenestration with Radiance" by A McNeil, LBNL.

Best,

Clarence

···

________________________________
发件人: Greg Ward <[email protected]>
发送时间: 2017年10月18日 15:23
收件人: Radiance general discussion
主题: Re: [Radiance-general] Example 2 of three-phase method

Hi Clarence,

Which tutorial are you using? A few of the programs have changed slightly, and we generally recommend rfluxmtx over rcontrib for most calculations, as it is much simpler to use and therefore less error-prone. You should use the new tutorial by Sarith, which was just recently posted to our website:

        https://www.radiance-online.org/learning/tutorials/matrix-based-methods

This is an advanced tutorial, but it starts with the basics and quickly moves through each of the methods. There is also an associated set of input files here:

        https://www.radiance-online.org/learning/tutorials/radTutorialFiles-master.zip

Best,
-Greg

From: Wang Clarence <[email protected]>
Date: October 18, 2017 5:37:21 AM PDT

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

_______________________________________________
Radiance-general mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/radiance-general