[Radiance-general] Custom false color palette
David Smith
dbs176 at gmail.com
Wed Sep 17 15:10:32 PDT 2008
I'm trying to make a false color / pseudo color image that matches the
color palette from a non-lighting program. It would work great with
four nested IF statements, but falsecolor -r/g/b doesn't seem to want
to take them. Has anybody come up with a workaround for this or am I
better off editing the falsecolor script?
Perhaps there is a way to use higher order functions?
Here's an image of the scale and a close numerical pseudocolor
traversal: http://tinyurl.com/4e2x7m
This would be the if statement for the falsecolor -r argument:
if(v-5/7,1,if(v-4/7,7v-4,if(v-2/7,0,if(v-1/7,2-7v,7v))))
--Dave
More information about the Radiance-general
mailing list