[Radiance-general] Multiple spherical glow sources?

Andrew McNeil andrew.mcneil at arup.com
Fri Sep 18 10:37:06 PDT 2009


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 > pic1.hdr //high quality rendering
rpict -ab 0 mod2.oct > mask.hdr //image mask - black and white pixels
rpict -ab 0 mod3.oct > 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 > 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" <grobe at gmx.net> wrote:

> Hi again...
>> I am not sure whether it is possible to force radiance to reuse an
>> ambient file without doing further refinement on it (...)
> 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
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general

____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses




More information about the Radiance-general mailing list