POV-Ray : Newsgroups : povray.general : 24 bit heightfields : Re: 24 bit heightfields Server Time
30 Jul 2024 20:25:45 EDT (-0400)
  Re: 24 bit heightfields  
From: SharkD
Date: 11 Dec 2008 20:20:00
Message: <web.4941bbe5869f689f7befdcf10@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote:
> I am intrigued by this idea.  I have been using hf_gray_16 in the past, and it
> usually creates enough levels, but an hf_gray_24 might be pretty cool too.

Well, an hf_gray_24 function would require a new image format: one in which each
channel stores 24 bits of color information, for a total of 72 bits for the
entire image. AFAIK, povray only supports a maximum of 16 bits-per-color in a
handful of formats (PNG is one of them).

The pigment I created will generate 24 bits of heightfield data in 8
bits-per-color images (the most common format), and 48 bits of heightfield data
in 16 bits-per-color images.

-Mike


Post a reply to this message

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