POV-Ray : Newsgroups : povray.beta-test : Saving memory with HDRI : Saving memory with HDRI Server Time
4 Jul 2024 12:58:49 EDT (-0400)
  Saving memory with HDRI  
From: clipka
Date: 25 Sep 2009 08:07:39
Message: <4abcb28b$1@news.povray.org>
It just occurs to me -

as the lookup table mechanism for gamma-correction has now been 
implemented anyway, including a 16-bit variant:

What stops us from using the very same mechanism to handle High Dynamic 
Range images?

OpenEXR uses "half-precision" floating-point numbers to store image 
data; while at first glance they call for being converted to proper 
floating-point values straight away, they are actually 16-bit values, 
which could just as well be handled with a look-up table.

Radiance HDR uses 8-bit integers for each color channel plus a common 
8-bit exponent; again, this combines to 16 relevant bits per channel.


Hum... maybe it's time to provide a command-line / INI file parameter to 
choose between optimization for speed and optimization for memory 
consumption.


Post a reply to this message

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