POV-Ray : Newsgroups : povray.general : AA adaptive +am2? : Re: AA adaptive +am2? Server Time
3 Aug 2024 06:13:12 EDT (-0400)
  Re: AA adaptive +am2?  
From: Rafal 'Raf256' Maj
Date: 1 May 2004 18:31:55
Message: <Xns94DD529180B8raf256com@203.29.75.35>
#macro timnikias (@) #local = "gmx.net" #end news:40942186@news.povray.org

> sufficient, and 9 already uses several thousands max, what does 90 look
> like?

Sorry, I ment +r9 not +r90 

In fact, problem is visible slight even with +r5, so possible that at any 
+rN  method 2 tooks to long due to some error.

Interesting - statistics inform that there where no additional extra sample 
shooted (about 1 sample / pixel). This means IMHO that either +am2 goes to 
deep in recursion and in fact is not adaptive (and samples counter is 
broken), or (more probably) that there is some additional cost with 
adaptivde recusrional AA, maybe some array is alocated/deallocated for each 
pixel, or bug like:

void Recurse(...) {
  Recurse(); 
  if (error_so_far < threshold) return;
  Recurse();  Recurse();   Recurse(); 
}

instead of

void Recurse(...) {
  if (error_so_far < threshold) return;
  Recurse();  Recurse();  Recurse();   Recurse(); 
}

etc


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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