Thank you for your help. I actually tried that after posting the message yesterday and it worked well. I got daylight factor equal to zero and a nice picture.
I am hoping to illustrate DF=0 with a black color instead of purple. Can I change the puple color (DF=0) to black and how can this be done?
Den tirs 26/5/09 skrev Andrew McNeil <[email protected]>:
Fra: Andrew McNeil <[email protected]>
Emne: Re: [Radiance-general] DF for a polygon
Til: [email protected], "Radiance general discussion" <[email protected]>
Dato: tirsdag 26. maj 2009 17.30
Re: [Radiance-general] DF for a polygon
Yes, your errors are most likely resulting from deleting some of rtrace points. Rtrace is expecting 4351*3000 points and is getting fewer, hence the unexpected end of file error.
From the rtrace manual page: “If the direction vector is (0,0,0), a bogus record is printed...” Instead of deleting you could change the vector to ‘0 0 0’ and then the area outside of your polygon would be comprised of bogus records (zeros). This method might not work if you are expecting legitimate zeros in your output.
On 5/26/09 5:09 AM, "Per Haugaard" <[email protected]> wrote:
I am calculating DF for a polygon. My approach for this is to use cnt, rcalc and rtrace as described below.
cnt 3000 4351 | rcalc -e 'x=157-$1*0.01; y=168.41-$2*0.01; z=0.85; $1=x; $2=y; $3=z; $4=0; $5=0; $6=1' > grids/grid_level_0.xyz
I then deleted the lines outside my polygon and initiated rtrace.
cat grids/grid_level_0.xyz | rtrace -I -ab 4 -aa 0.05 -ar 128 -ad 512 -as 256 -x 4351 -y 3000 -af ambfiles/df.amb -fac octrees/LSE_DF.oct > images/grid2illum_level_0.pic
which results the following error:
rtrace: fatal - unexpected EOF on input
pfilt: truncated input (y=754)
images/grid2illum_level_0_resized.pic: read error
<stdin>: read error (y==139)
Two of the errors occur when I start to work with the grid2illum_level_0..pic image. If I do not specify the picture size in the rtrace command I get the following error:
pfilt: bad picture size
images/grid2illum_level_0_resized.pic: bad picture size
images/grid2illum_level_0_resized_df.pic: bad picture size
Does this error occur because i delete points in the plane and how do I get around this this?
Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV <http://dk.yahoo.com/r/pat/lcd> !
Radiance-general mailing list
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses
Find din nye laptop på kelkoo.dk. Se de gode tilbud her - http://dk.yahoo.com/r/pat/mm