|
![](/i/fill.gif) |
The HF_Gray_16 format POV-Ray uses is just a normal three-channel
(RGB), 8 bit per channel, TGA format. However, the way POV interprets
the data is different. Of the three bytes that form each pixel, the
first two - red and green - are treated as a 16-bit word, and the
third one - blue - is ignored. It's quite simple, actually, so any
code you find that writes TGA files can suit your needs.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |