POV-Ray : Newsgroups : povray.beta-test : Isosurface cache bug : Re: Isosurface cache bug Server Time
2 May 2024 14:05:28 EDT (-0400)
  Re: Isosurface cache bug  
From: Chris Cason
Date: 4 Mar 2008 05:45:14
Message: <47cd283a$1@news.povray.org>
Lukas Winter wrote:
> The lines in my previous post are wrong. I don't know the correct line 
> anymore, so I just post the context:
> 
> isosurface.cpp
> "
>     /* change the sign and go into the isosurface */
>     }
>   }
>  
>   //remove this line:
>   //Thread->isosurfaceData->current = this;
>   Thread->isosurfaceData->ctx = Thread->functionContext;
> 
>   for (; itrace < max_trace; itrace++)
>   {
> "
> and later on:
> "
> else if(!in_shadow_test)
> {
>   itd.cache = true;
>   VEvaluateRay(itd.Pglobal, PP, EP1.t, DD);
>   VEvaluateRay(itd.Dglobal, PP, EP2.t, DD);
>   //add this line:
>   itd.current = this;
>     
>   return false;
> }

Thanks for this (and good work in finding it!)

I've not looked at it closely but provided it has no unexpected side-
effects we'll apply the fix to the source.

regards,

-- Chris


Post a reply to this message

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