[Radiance-general] falsecolor and specific isocontours
Rob Guglielmetti
rpg at rumblestrip.org
Thu Feb 3 18:11:13 CET 2005
> Hi Chris,
>
> No, falsecolor doesn't offer such an option. However, you can do it
> yourself with pcomb:
>
> pcomb -e 'incontr=eq(we*li(1),16.5,0.25)' \
> -e 'ro=if(incontr,0,ri(1)' \
> -e 'go=if(incontr,1,gi(1)' \
> -e 'bo=if(incontr,0,bi(1)' \
> -e 'and(a,b):if(a,b,a)' \
> -e 'eq(a,b,eps):and(a-b+eps,b-a+eps)' \
> -o input.pic > contoured.pic
>
Hey, this is cool Greg. I figured this was possible with pcomb, but not
really having any handle on the functional language I never knew how to go
about it. I tried your tip here, putting the whole thing into a shell
script, but I get an error: "we: undefined variable". Is there something
wrong with my environment (aside from going into New York City on a
perpetually late, crowded train every day, I mean)?
P.S. There are closing parens missing from lines 2,3,and 4.
- Rob Guglielmetti
www.rumblestrip.org
More information about the Radiance-general
mailing list