POV-Ray : Newsgroups : povray.binaries.images : Blurred reflection comparison : Re: Blurred reflection comparison Server Time
25 Apr 2024 17:44:52 EDT (-0400)
  Re: Blurred reflection comparison  
From: Mike Horvath
Date: 13 Feb 2018 23:50:38
Message: <5a83c01e$1@news.povray.org>
On 2/13/2018 1:56 AM, clipka wrote:
> Am 13.02.2018 um 06:12 schrieb Mike Horvath:
> 
>> How do I control the amount of blurring? In my scene the textures are
>> maybe a little too blurred.
> 
> Reducing `BlurAmount` in your code should reduce the blurriness of the
> reflections.
> 
> Reducing the camera's `aperture` setting should reduce any overall
> blurriness of the image.
> 

This is my latest macro. I used a sequential list of normals instead of 
averaging them. It looks okay.

Mike





// this method is faster, but requires a focal blur and/or extra 
antialiasing
#declare BlurAmount = 0.1;
#macro BlurredReflectionRegularNormals(InPigment, InFinish, InNormal)
//	texture
//	{
		pigment { InPigment }
		finish { InFinish }
		normal { InNormal }
		normal {bumps BlurAmount scale 0.001}
//	}
#end


Post a reply to this message

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