[Radiance-general] DF for a polygon

Per Haugaard perhaugaard at yahoo.dk
Tue May 26 05:09:46 PDT 2009


Dear users,

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?


Best regard



Per Haugaard,



      ________________________________________________________ 
Audi, Fiat, Peugeot, Skoda, Porsche, Toyota, Ford - Kelkoo har brugte biler til en hver smag! Klik her for at sammenligne priser.(http://dk.yahoo.com/r/pat/mmb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20090526/16af4436/attachment.html


More information about the Radiance-general mailing list