azshall
10-29-2006, 08:20 PM
Getting wierd results. When I try to use the colorAtPoint command to retrieve the luminance value at a specified UV location, I get the v value I am passing as the result. Meaning, if I say colorAtPoint -o RGB -u .3 -v .7 texture ... the return is .7, or whatever the -v is.. I don't get it.
My setup is loading a 2D texture (this case a file), sending it through an rgbToLuminance node, which then goes into a ramp from black-to-white ... Thus giving me the Black and White/Luminance equivalent.
I am using this new ramp as my texture, but it returns the wrong result. If I do the colorAtPoint on the actual colored texture I loaded, it returns the proper result! Help?
Seth
My setup is loading a 2D texture (this case a file), sending it through an rgbToLuminance node, which then goes into a ramp from black-to-white ... Thus giving me the Black and White/Luminance equivalent.
I am using this new ramp as my texture, but it returns the wrong result. If I do the colorAtPoint on the actual colored texture I loaded, it returns the proper result! Help?
Seth
