POV-Ray : Newsgroups : povray.advanced-users : ambient occlusion applied to textures : Re: ambient occlusion applied to textures Server Time
4 Oct 2024 17:02:47 EDT (-0400)
  Re: ambient occlusion applied to textures  
From: Samuel Benge
Date: 20 Jun 2007 22:07:43
Message: <4679dd6f$1@news.povray.org>
Kirk Andrews wrote:
> Some time ago a saw a post in the image binaries titled "ambient occlusion",
> which is a way of lighting objects such that crevices and corners receive
> less ambient light.  It would incredibly useful if this could be applied to
> *textures*, allowing a "dirty" or "mossy" texture to be applied only to
> crevices and corners.  I wonder if anyone knows of a way of doing this?
> 
> -- Kirk

One way is to use MegaPOV's projection pattern: 2.6.3. Projection pattern

To get a full effect, you would need several patterns to specify blurry 
light_sources all around the object. They would be averaged together.

The other option I know of (and it may have been my post you saw), is to 
  make a pigment out of the target object and combine jittered versions 
of it into an average pigment's pigment_map. If that makes any sense.

Both ways will be terribly slow.

~Sam


Post a reply to this message

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