POV-Ray : Newsgroups : povray.general : 24 bit heightfields : Re: 24 bit heightfields Server Time
30 Jul 2024 14:22:18 EDT (-0400)
  Re: 24 bit heightfields  
From: Nicolas Alvarez
Date: 10 Dec 2008 18:22:28
Message: <49404f34@news.povray.org>
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

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