POV-Ray : Newsgroups : povray.general : isosurface and max_gradient : Re: isosurface and max_gradient Server Time
1 Jul 2024 12:31:22 EDT (-0400)
  Re: isosurface and max_gradient  
From: jr
Date: 7 May 2024 02:05:00
Message: <web.6639c43da112dc231686e436cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> ...
> Would you be kind enough to run the following version of the function on
> your machine to verify you too see a much, much lower gradient?
>
> min(
>      (sq(sqrt(x*x + y*y) - 3) + z*z - 0.4 ) ,
>      (sq(sqrt((x - 4.5)*(x - 4.5) + z*z) - 3) + y*y - 0.4) ,
>      (sq(sqrt((x + 4.5)*(x + 4.5) + z*z) - 3) + y*y - 0.4) ,
>      (sq(sqrt((y + 4.5)*(y + 4.5) + z*z) - 3) + x*x - 0.4) ,
>      (sq(sqrt((y - 4.5)*(y - 4.5) + z*z) - 3) + x*x - 0.4) ,
>      (sq(sqrt(x*x + y*y) - 5) + z*z - 0.4 )
> )

much faster render, much lower gradient.  gave (again) value '100', the beta.2
now reports "maximum gradient found was 12.207, ...".  nice.

cheers.


regards, jr.


Post a reply to this message

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