POV-Ray : Newsgroups : povray.binaries.images : Experimental tonemapping tests : Re: Experimental tonemapping tests Server Time
7 Nov 2024 09:25:38 EST (-0500)
  Re: Experimental tonemapping tests  
From: Jaime Vives Piqueres
Date: 11 Apr 2016 11:04:49
Message: <570bbd11@news.povray.org>
Sepia:

   #declare sepia_amount=0.7;
   tonemapping {
     parameters { red,green,blue}
     function(r,g,b,x,y) 
{r*(1-sepia_amount)+min(1,r*(.393/2.2)+g*(.769/2.2)+b*.189)*sepia_amount}
     function(r,g,b,x,y) 
{g*(1-sepia_amount)+min(1,r*(.349/2.2)+g*(.686/2.2)+b*.168)*sepia_amount}
     function(r,g,b,x,y) 
{b*(1-sepia_amount)+min(1,r*(.272/2.2)+g*(.534/2.2)+b*.131)*sepia_amount}
   }

--
jaime


Post a reply to this message


Attachments:
Download 'hourglass-02-tonemapping-sepia.jpg' (77 KB)

Preview of image 'hourglass-02-tonemapping-sepia.jpg'
hourglass-02-tonemapping-sepia.jpg


 

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