POV-Ray : Newsgroups : povray.unofficial.patches : Crash with trace() and mesh : Re: Crash with trace() and mesh Server Time
2 Sep 2024 10:12:51 EDT (-0400)
  Re: Crash with trace() and mesh  
From: Nathan Kopp
Date: 7 Feb 2000 09:30:30
Message: <389ed706@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote...
> On Sun, 6 Feb 2000 22:57:23 -0500, Nathan Kopp wrote:
>
> >BTW, is it a good idea to leave initialize the queue before parsing and
> >leave it that way after the trace() function is called?  Might it be a
good
> >idea to reset it between parsing and rendering and even between
successive
> >calls to trace()?
>
> Does it do that when you render a real scene?  If so, then yes.  If not,
> there's probably no harm in initializing it early.  Personally, I can't
find
> anywhere that it gets initialized other than that first call, so I'd guess
> it's fine the way it is.

I took a closer look at the queue and it doesn't cache any data between
successive calls to Intersect, so it is OK the way it is and the
reinitialization is not necessary.

-Nathan


Post a reply to this message

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