POV-Ray : Newsgroups : povray.binaries.images : Re: blurring bump map image in pov ? : Re: blurring bump map image in pov ? Server Time
7 Nov 2024 13:41:46 EST (-0500)
  Re: blurring bump map image in pov ?  
From: Shay
Date: 30 Jul 2004 15:14:25
Message: <410a9e11$1@news.povray.org>
Jaap wrote:

> thanks,
> 
> i was not looking for a normal blur (like in my code above), i
> was going to use a non-linear finction (like 1/x) whith the distance
> to the nearest edge as input. (see image in yesterdays post)
> 
> but maybe i can get a similar result by adding several function together.
> 
> jaap.

Just take the result of the linear blur and apply your non-linear 
function to it.

like this:
#declare NonLinear =
function { 1 / Blur(x,y,z) }
or:
function { sin ( Blur(x,y,z) ) }
or:
function { sin ( Blur(x,y,z)*2*pi + pi/2 ) - 1 }

Whatever you like.

  -Shay


Post a reply to this message

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