|
![](/i/fill.gif) |
Yes, it does so when HF_Gray_16 is on. But when it READS a height field
definition, how does it know to use either .3*Red+.59*Green+.11*Blue (like
the docs say) or to reconstruct red+green/256, or does it silently always
use the latter, and throw away any information in the blue channel?
I could of course go into reverse engineering, generating fields with
specific patterns and so, or dive into the code. I hoped, however, that
someone would know the answer.
Frans
Steven Jones heeft geschreven in bericht <370A825B.9A6BF9E0@tsn.cc>...
>When Povray is used to GENERATE tga height fields, it uses the formula
>.3*Red+.59*Green+.11*Blue and when it saves it divides by 256, rounds
>down and saves that as the red part and then saves the remainder of the
>division as the green part.
>
Post a reply to this message
|
![](/i/fill.gif) |