|
|
> You also have to
> write whatever it is that tells POV to treat it as 16-bit grey,
> otherwise POV is going to treat the data as rgb. The POV syntax is the
> same for reading the two types of TGA data, so there must be something
> in the file itself that distinguishes the two situations.
I don't think there is. It just happens that a greyscale image, when read as
though it were 16-bit grey, conveniently produces the expected result. Think
about it: each pixel in a greyscale image contains colors rgb(0,0,0) through
rgb(255,255,255). Discarding the blue channel, we get 0x0000 through 0xffff,
with a full 256 possible numbers within that range, evenly distributed.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|