[Radiance-general] mkillum q's

Fitzsimmons, Rob [email protected]
Tue, 2 Dec 2003 19:39:20 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3B93E.45E7B5B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to use mkillum to render my house.. and I'm having trouble
understanding it.=20
I have broken the elements into various Rad files=20
Nov15.rad - the sky description=20
house_mat_lit.rad=A0 - materials and lights used in the house=20
House6nw.rad - house geometry without window geometry=20
furniture.rad=A0 - the (duh) furniture=20
windows.rad - the window geometry=20

RwR chapter 1 suggests using a .rif with an "illum=3D" line=20
scene=3D nov15.rad=20
scene=3D house_mat_lit.rad=20
scene=3D house6nw.rad=20
scene=3D windows.rad=A0=A0 -- should this be here? or only as illum?=20
scene=3D furniture.rad=20
illum=3D windows.rad=20

# Options for mkillum=20
mkillum=3D -av 8 8 8 -ab 0=20

This is taking a long time to generate the .dat illum files - in fact I =
give
up after a while=20
I 'm thinking all I really need is the sky and the windows?=20
scene=3D nov15.rad=20
illum=3D windows.rad=20

This produces:
robfitzs%  rad window.rif
                  oconv nov15.rad > window.oct
                  oconv -i window.oct windows.rad > window0.oct
                  mkillum window0.oct "<" windows.rad > il000924
                  oconv -f -i window.oct il000924 > window1.oct
                  rm -f il000924

this goes much faster, (creating 10 illum.dat files) but now how do I =
use
the illum data and render with all the rest of the house and furniture
without overwriting the previous simpler octree?

Could I add this to my rif?
octree=3D window1.oct

I also tried using mkillum manually ( for this, I combined the sky and
windows in 1 rad file) But I got an error=20
mkillum -ab 1 -ad 512 -as 256 -ar 16 < windowsSky.rad > winlit.rad=20
rtrace: fatal - command line error at '-ar'=20
mkillum: system - error reading from rtrace process=20

Does this make sense?=20

Rob Fitz=20
=A0=20

------_=_NextPart_001_01C3B93E.45E7B5B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>mkillum q's</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I'm trying to use mkillum to render my house.. and =
I'm having trouble understanding it. </FONT>
<BR><FONT SIZE=3D2>I have broken the elements into various Rad files =
</FONT>
<BR><FONT SIZE=3D2>Nov15.rad - the sky description </FONT>
<BR><FONT SIZE=3D2>house_mat_lit.rad=A0 - materials and lights used in =
the house </FONT>
<BR><FONT SIZE=3D2>House6nw.rad - house geometry without window =
geometry </FONT>
<BR><FONT SIZE=3D2>furniture.rad=A0 - the (duh) furniture </FONT>
<BR><FONT SIZE=3D2>windows.rad - the window geometry </FONT>
</P>

<P><FONT SIZE=3D2>RwR chapter 1 suggests using a .rif with an =
&quot;illum=3D&quot; line </FONT>
<BR><FONT SIZE=3D2>scene=3D nov15.rad </FONT>
<BR><FONT SIZE=3D2>scene=3D house_mat_lit.rad </FONT>
<BR><FONT SIZE=3D2>scene=3D house6nw.rad </FONT>
<BR><FONT SIZE=3D2>scene=3D windows.rad=A0=A0 -- should this be here? =
or only as illum? </FONT>
<BR><FONT SIZE=3D2>scene=3D furniture.rad </FONT>
<BR><FONT SIZE=3D2>illum=3D windows.rad </FONT>
</P>

<P><FONT SIZE=3D2># Options for mkillum </FONT>
<BR><FONT SIZE=3D2>mkillum=3D -av 8 8 8 -ab 0 </FONT>
</P>

<P><FONT SIZE=3D2>This is taking a long time to generate the .dat illum =
files - in fact I give up after a while </FONT>
<BR><FONT SIZE=3D2>I 'm thinking all I really need is the sky and the =
windows? </FONT>
<BR><FONT SIZE=3D2>scene=3D nov15.rad </FONT>
<BR><FONT SIZE=3D2>illum=3D windows.rad </FONT>
</P>

<P><FONT SIZE=3D2>This produces:</FONT>
<BR><FONT SIZE=3D2>robfitzs%&nbsp; rad window.rif</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oconv nov15.rad &gt; =
window.oct</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oconv -i window.oct windows.rad =
&gt; window0.oct</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkillum window0.oct =
&quot;&lt;&quot; windows.rad &gt; il000924</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oconv -f -i window.oct il000924 =
&gt; window1.oct</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f il000924</FONT>
</P>

<P><FONT SIZE=3D2>this goes much faster, (creating 10 illum.dat files) =
but now how do I use the illum data and render with all the rest of the =
house and furniture without overwriting the previous simpler =
octree?</FONT></P>

<P><FONT SIZE=3D2>Could I add this to my rif?</FONT>
<BR><FONT SIZE=3D2>octree=3D window1.oct</FONT>
</P>

<P><FONT SIZE=3D2>I also tried using mkillum manually ( for this, I =
combined the sky and windows in 1 rad file) But I got an error </FONT>
<BR><FONT SIZE=3D2>mkillum -ab 1 -ad 512 -as 256 -ar 16 &lt; =
windowsSky.rad &gt; winlit.rad </FONT>
<BR><FONT SIZE=3D2>rtrace: fatal - command line error at '-ar' </FONT>
<BR><FONT SIZE=3D2>mkillum: system - error reading from rtrace process =
</FONT>
</P>

<P><FONT SIZE=3D2>Does this make sense? </FONT>
</P>

<P><FONT SIZE=3D2>Rob Fitz </FONT>
<BR><FONT SIZE=3D2>=A0</FONT>=20
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3B93E.45E7B5B0--