POV-Ray : Newsgroups : povray.binaries.images : Gamut-mapped spectral rendering : Gamut-mapped spectral rendering Server Time
29 Jul 2024 20:13:30 EDT (-0400)
  Gamut-mapped spectral rendering  
From: Cousin Ricky
Date: 1 Dec 2013 00:15:01
Message: <web.529ac5038d3743af306548240@news.povray.org>
I implemented gamut mapping in Ive's spectral rendering rig, based on method 2
of CIE.inc in Lightsys IV.  Values above 1.0 are still clipped (which can
distort the hue).  Attached are renders of a modified version of Prism.pov.  As
you can see from the Osram render, there are still some bugs to be worked out
for brighter values.

I made one change from the algorithm in MapGamut(): when finding the lowest of
the RGB channels, I used <= instead of <, because the latter would always return
the blue value if the red and green happened to be identical.  (You might want
to look into that, Ive.)


Post a reply to this message


Attachments:
Download 'prism_montage.png' (41 KB)

Preview of image 'prism_montage.png'
prism_montage.png


 

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