POV-Ray : Newsgroups : povray.beta-test : Isosurface cache bug : Re: Isosurface cache bug Server Time
2 May 2024 13:21:31 EDT (-0400)
  Re: Isosurface cache bug  
From: Lukas Winter
Date: 27 Feb 2008 14:56:32
Message: <47c5c070$1@news.povray.org>
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;
}


Post a reply to this message

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