|
|
Hello. I need help with something. For years I believed that to convert a color
from 255 scale to decimal, you just divide the rgb number by 255. But I've come
to realize that isn't how to do it. I'm trying to convert a shade of green on a
photo. The numbers weren't coming out right. I tested my method on colors in the
colors.inc file and came out with different results. For instance, I reverse
converted Gray50 (which is .5,.5,.5) and came up with 127.5. I rendered a block
with the color, and then used Paint Shop Pro to grab the rgb color, from the
produced picture, and it reported 177. I tried doing a google search for a
converter, but they all wanted to convert the three rgb numbers into a single
decimal number. So how do I convert RGB numbers into decimals to use in POV=ray?
Post a reply to this message
|
|