<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear users,<br><br>I am calculating DF for a polygon. My approach for this is to use cnt, rcalc and rtrace as described below.<br><br>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<br><br>I then deleted the lines outside my polygon and initiated rtrace.<br><br>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<br><br>which results the following error:<br><br>rtrace: fatal - unexpected EOF on input<br>pfilt: truncated input (y=754)<br>images/grid2illum_level_0_resized.pic: read error<br><stdin>: read error (y==139)<br><br>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:<br><br>pfilt: bad picture size<br>images/grid2illum_level_0_resized.pic: bad picture size<br>images/grid2illum_level_0_resized_df.pic: bad picture size<br><br>Does this error occur because i delete points in the plane and how do I get around this this?<br><br><br>Best regard<br>
<br>
Per Haugaard,<br></td></tr></table><br>
<hr size=1><br><table><tr><td>
Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på <a href=http://dk.yahoo.com/r/pat/lcd>LCD TV</a>!</td></tr></table>