POV-Ray : Newsgroups : povray.general : 24 bit heightfields : Re: 24 bit heightfields Server Time
30 Jul 2024 14:17:04 EDT (-0400)
  Re: 24 bit heightfields  
From: SharkD
Date: 10 Dec 2008 20:50:01
Message: <web.494070ee869f689f2c4b57320@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.