Nicolas Alvarez <nic### [at] gmail com> wrote:
> 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.
How would I create this type of pigment? Thanks.
-Mike
Post a reply to this message
|