POV-Ray : Newsgroups : povray.general : Problem with isosurface : Re: Problem with isosurface Server Time
31 Jul 2024 00:34:20 EDT (-0400)
  Re: Problem with isosurface  
From: Alain
Date: 9 Feb 2008 12:29:58
Message: <47ade316$1@news.povray.org>
SharkD nous apporta ses lumieres en ce 2008/02/08 21:37:
> Some more problems related to isosurfaces--this time with pigments. In the
> following scene, there is noticable banding of the pigment in the form of
> concentric circles around the centerpoint of the image. This problem occurs
> regardless of the camera location. If you move the camera, there are still
> concentric circles centered around the middle of the image.
> 
The banding was obvious in your original sample. Same problem: FP inacurancy.

The problem is that your radial variation is extremely small, at 0.005 unit.

You get much beter result after scaling everything up by 10.
f_sphere(x, y, z, 1) become f_sphere(x/10, y/10, z/10 ,1)
contained_by{sphere{0,1}} become contained_by{sphere{0,10}}
the scale Height_Ratio become scale Height_Ratio*10

This way, you get much less rounding errors and it preserve the intended apearance.

-- 
Alain
-------------------------------------------------
Important letters that contain no errors will develop errors in the mail.


Post a reply to this message

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