SharkD wrote:
> I generated the following heightfield in some program or other. It uses
> all 24 bits for elevation information. My question is, how are the
> colors/height data organized? I would like to create a pigment that
> produces similar maps.
Seems similar to the POV-Ray TGA heightfields, except using all three
channels instead of two.
Basically, red*256*256 + green*256 + blue = 24-bit grayscale value.
Post a reply to this message
|