POV-Ray : Newsgroups : povray.beta-test : Storage of Trace Level : Re: Storage of Trace Level Server Time
28 Jul 2024 12:34:34 EDT (-0400)
  Re: Storage of Trace Level  
From: Thorsten Froehlich
Date: 27 Dec 2008 01:44:37
Message: <4955ced5$1@news.povray.org>
clipka wrote:
> I'll take the freedom to try and attach that radiosity "bounce level" to the ray
> object, and strongly advise doing the same for the classic "trace level".

You really don't want to fill a lightweight class like ray with data like 
that. The recursion level is a property of the algorithm, not a ray. As 
such, moving recursion counting into the ray violates separation of data and 
algorithm, which in the long term practically always turns out to bit you 
somewhere else later when you do not expect it.

	Thorsten


Post a reply to this message

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