POV-Ray : Newsgroups : povray.binaries.images : Ambient occlusion experiment : Re: Ambient occlusion experiment Server Time
2 Aug 2024 20:21:08 EDT (-0400)
  Re: Ambient occlusion experiment  
From: Tom York
Date: 22 Sep 2007 17:45:00
Message: <web.46f58cc494b248557d55e4a40@news.povray.org>
Well, this was going ok until I ran into meshes (possibly other primitives
as well), which use their own internal bounding hierarchy that the shader
can't access or know about.

The methods I've started using to allow implementation of a user-specified
search distance (and speed up the effect) involve producing a cut-down
bounding hierarchy from the scene for picking up intersections along
occlusion rays, and the mesh's internal bounding sidesteps all of that.

Since I use meshes a lot, I decided not to spend any more time on this for
now. I'm going wait for 3.7 and see what the situation is then. From the
sound of it a lot of the code will have been cleaned up.

Attached is the last attempt, with the occlusion pigment providing the
surface colour (ranging from very dark blue to white), diffuse shading
only. Three lights were used, two of them shadowless. Render time (with
non-exclusive use of the processor) was 55 minutes for 128 occlusion sample
rays and +A0.3 +AM2 +r1, on a 2.4GHz P4. You can get a reasonable preview
quality image in about 7 minutes with between 8-32 sample rays.

Tom


Post a reply to this message


Attachments:
Download 'ao_54min.jpg' (142 KB)

Preview of image 'ao_54min.jpg'
ao_54min.jpg


 

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