|
|
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
|
|