[Radiance-general] Generating a black and white pic

Raphael Compagnon raphael.compagnon at eif.ch
Fri Jan 28 15:13:53 CET 2005


This command should do what you expect:

pcomb -e 'ro=li(1)*ri(2);go=li(1)*gi(2);bo=li(1)*bi(2)' mask.pic 
picture.pic >result.pic

At 28.01.2005 15:06, you wrote:
>Hi,
>
>I wish to render a scene and output a black and white image where the 
>black areas have 0 irradiance and everything else is white.
>
>I then want to pcomb this over another image so that on that image all the 
>black parts of the mask appear in black, but wherever the mask is white, 
>the underlying picture shows through.
>
>How can I do this?  I can see it should be possible, but the devil is in 
>the details it seems...
>
>Thanks,
>
>Chris
>
>_______________________________________________
>Radiance-general mailing list
>Radiance-general at radiance-online.org
>http://www.radiance-online.org/mailman/listinfo/radiance-general




More information about the Radiance-general mailing list