POV-Ray : Newsgroups : povray.general : Colour Clipping : Re: Colour Clipping Server Time
20 Nov 2024 04:23:31 EST (-0500)
  Re: Colour Clipping  
From: Kari Kivisalo
Date: 7 Nov 2001 10:17:59
Message: <3BE950B7.E2587135@engineer.com>
Trevor Quayle wrote:
> 
> How does colour clipping work?

It's the result of a limited dynamic range in 24 bit integer files.
If povray could write floating point files color clipping wouldn't
be necessary but then most of the image viewers would clip the
colors anyway. You would need to perform dymamic range compression
to be able view the high dynamic range floating point images
with standard monitor/DAC combination.

Povray can output 48 bit files with 256 times more dynamic range
than 24 bit files. For practical purposes it's as good as floating
point files but requires a bit tweaking with the scene file
to make the integer format perform like floating point format.
The idea is to control the clipping with a global scaling parameter
for light sources and do the compression in an image editor. It
works because light in a povray scene is a linear system. If 2x
light goes in, 2x light comes out. I got the idea after looking
at photorgaphic film response curves.

See http://www.pp.htv.fi/kkivisal/c/compress.htm


_____________
Kari Kivisalo


Post a reply to this message

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