POV-Ray : Newsgroups : povray.general : [stupid q.] isosurface bounding : Re: [stupid q.] isosurface bounding Server Time
5 Aug 2024 08:22:24 EDT (-0400)
  Re: [stupid q.] isosurface bounding  
From: Rafal 'Raf256' Maj
Date: 27 Oct 2002 12:57:50
Message: <Xns92B4C0A0D1B5Craf256com@204.213.191.226>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in
news:Xns### [at] 204213191226 

> isosurface {
>   function { x*x + y*y - 1 } 
>   contained_by { box { -s, +s } }
>   accuracy 0.001   
>   max_gradient 4   
> }
> for s=2.0 everything is o.k.
> for s=3.5 cylinder have holes


After rendering s=5.04
  Warning: The maximum gradient found was 10.996, but max_gradient of the
  isosurface was set to 4.000. The isosurface may contain holes!
  Adjust max_gradient to get a proper rendering of the isosurface.

But... for s=42 :
  Warning: The maximum gradient found was 87.374, but max_gradient of the
  isosurface was set to 15.000. The isosurface may contain holes!
  Adjust max_gradient to get a proper rendering of the isosurface.

so... shat is the real max_gradient for this (tryvial) function ?

Shouldn't real max_gradient be same for all bounding boxes ?


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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