POV-Ray : Newsgroups : povray.general : Problem with isosurface : Re: Problem with isosurface Server Time
31 Jul 2024 00:33:44 EDT (-0400)
  Re: Problem with isosurface  
From: SharkD
Date: 9 Feb 2008 16:50:01
Message: <web.47ae1efe43fac46b8a2ce73f0@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> 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.

I've scaled everything by 10 and get virtually identical results.


Post a reply to this message

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