POV-Ray : Newsgroups : povray.beta-test : Isosurface: max_gradient warning? : Re: Isosurface: max_gradient warning? Server Time
9 May 2024 20:27:16 EDT (-0400)
  Re: Isosurface: max_gradient warning?  
From: Warp
Date: 23 Jun 2013 15:44:15
Message: <51c7500f@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Instead of isCopy, what about adding in mginfo a boolean
> "printed_warning" (actual name should be more appropriate), set to false
> on creation, and turn to true on the first call (instead of last for
> 3.6.1) of the warning displaying function (test for false, set to true
> if false) ? (and dropping isCopy in the process)

The problem with that is that all copies of the same isosurface object
would need a shared variable, which has to be separate for all distinct
isosurface objects, unless it's enough to print a warning about one
isosurface object and ignore the rest.

-- 
                                                          - Warp


Post a reply to this message

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