POV-Ray : Newsgroups : povray.binaries.images : Experimental tonemapping tests : Re: Experimental tonemapping tests Server Time
7 Nov 2024 09:27:06 EST (-0500)
  Re: Experimental tonemapping tests  
From: Jaime Vives Piqueres
Date: 11 Apr 2016 11:03:42
Message: <570bbcce@news.povray.org>
Vignetting + Noise:

   #declare vignetting_amount=0.3;
   #declare noise_amount=0.05;
   #declare f_vignette=
   function{
     pigment{
       spherical
       color_map{
         [vignetting_amount rgb 0]
         [1 rgb 1]
       }
     }
   }
   tonemapping {
     parameters { channel,x,y }
     function(c,x,y) 
{c*f_vignette(x-.5,y-.5,0).gray-f_granite(.1+x*image_width,y*image_width,0)*noise_amount+f_granite(.2+x*image_width,y*image_width,0)*noise_amount}
   }

--
jaime


Post a reply to this message


Attachments:
Download 'hourglass-02-tonemapping-vignetting+noise.jpg' (97 KB)

Preview of image 'hourglass-02-tonemapping-vignetting+noise.jpg'
hourglass-02-tonemapping-vignetting+noise.jpg


 

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