|
|
Mike Williams wrote:
>
> Note that it's not sufficient just to produce a rgb TGA file with the
> 16-bit grey data coded into the R and G components. 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.
No, in heightfields RGB images are always reduced by weighting the color
components - in case of 3x8bit images you get the R*256+G - for 3x16bit
the R*0.297 + G*0.589 + B*0.114.
Note the special treatment of the 8bit RGB is mostly for backwards
compatibility - although this will likely continue to work i would
recommend to use true 16bit formats to specify 16bit data.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
Post a reply to this message
|
|