<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mark,<br>
<br>
One additional thought that occurred to me this weekend. To simplify
processing your star map through mksource (if this is the way you go),
it might make sense to downsample (significantly) the super large hdr
image and then sample it back up to some manageable size. This should
smear out the values. Feeding this to mksource might then be easier.<br>
<br>
-Jack<br>
<br>
Andrew McNeil wrote:
<blockquote cite="mid:C6D91352.CF29%25andrew.mcneil@arup.com"
 type="cite">
  <pre wrap="">Hi,

Lars - why not use the relevant pixels from the first run in the final
image?

Model 1 - low res radiance map
Model 2 - uniform white sky
Model 3 - high res star map

rpict -ab 5 mod1.oct &gt; pic1.hdr //high quality rendering
rpict -ab 0 mod2.oct &gt; mask.hdr //image mask - black and white pixels
rpict -ab 0 mod3.oct &gt; pic3.hdr //direct only rendering, starry sky

Use the mask to replace sky pixels with pixels of the starry sky:

pcomb -e 'Ro=if(Ri(2),Ri(3),Ri(1) etc...'  \
       pic1.hdr mask.hdr pic3.hdr &gt; final.hdr


This was my initial thought when I saw Mark's query, but I thought an all
encompassing model (ala Jack's mksource suggestion) would probably fit
better.  I'm not sure how practical three images and pcomb is with M. Stock
sized pre-filtered renderings.  But given the complexity of the subsequent
responses, maybe a dumber solution is more practical?

Andy  



On 9/15/09 7:11 PM, "Lars O. Grobe" <a class="moz-txt-link-rfc2396E" href="mailto:grobe@gmx.net">&lt;grobe@gmx.net&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi again...
    </pre>
    <blockquote type="cite">
      <pre wrap="">I am not sure whether it is possible to force radiance to reuse an
ambient file without doing further refinement on it (...)
      </pre>
    </blockquote>
    <pre wrap="">Thinking about this again... the fool-proof way would be to use the
simplified map for a first rendering run, derive ambient values from it
and use these as -av values with -ab 0 and the high-res map in later
runs. This should give you very fast and noise-free results...

Cheers, Lars.

_______________________________________________
Radiance-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Radiance-general@radiance-online.org">Radiance-general@radiance-online.org</a>
<a class="moz-txt-link-freetext" href="http://www.radiance-online.org/mailman/listinfo/radiance-general">http://www.radiance-online.org/mailman/listinfo/radiance-general</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses


_______________________________________________
Radiance-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Radiance-general@radiance-online.org">Radiance-general@radiance-online.org</a>
<a class="moz-txt-link-freetext" href="http://www.radiance-online.org/mailman/listinfo/radiance-general">http://www.radiance-online.org/mailman/listinfo/radiance-general</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
# Jack de Valpine
# president
#
# visarc incorporated
# <a class="moz-txt-link-freetext" href="http://www.visarc.com">http://www.visarc.com</a>
#
# channeling technology for superior design and construction
</pre>
</body>
</html>