POV-Ray : Newsgroups : povray.newusers : Problems with photon mapping and transparancy : Re: Problems with photon mapping and transparancy Server Time
28 Jul 2024 16:31:32 EDT (-0400)
  Re: Problems with photon mapping and transparancy  
From: Alain
Date: 11 Jul 2008 22:25:00
Message: <487815fc$1@news.povray.org>
Killroy Quartermaine nous illumina en ce 2008-07-11 00:58 -->
> OK, so a little background.
> 
> light_source {<-10,10,0>
>          White
>          area_light <1,0,0>, <0,0,1> 3,3 adaptive 1 jitter
>          photons{area_light}
>          }
> 
A technical note:

You use adaptive 1 on an area_light that use a 3x3 aray. As adaptive 1 START 
with a 3x3 aray, you don't get any benefit from using adaptive.
You can use a 33x33 aray and get almost the same gendering speed, and MUCH 
smoother shadows.
When using adaptive, you usualy start with adaptive 0. If you get artefacts in 
the shadoes, then you try adaptive 1, then adaptive 2 if you still get artefacts.
With adaptive, there is no real gain in using an aray of less than 9x9.
The optimum values are 5, 9, 17, 33, 65, 129, 257,...
With values of 33 and larger, jitter becomes about useless in most cases.

You can add "circular" to simulate a disk shaped area_light.
You can add "circular orient" to simulate a spherical area_light.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when a co-worker nearly kills himself 
over losing an hour's worth of work after a computer crash, and you just calmly 
shrug your shoulders and say, "Is that all?"
Taps a.k.a. Tapio Vocadlo


Post a reply to this message

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