POV-Ray : Newsgroups : povray.advanced-users : Condition in functions : Re: Condition in functions Server Time
21 Dec 2024 11:56:18 EST (-0500)
  Re: Condition in functions  
From: Bald Eagle
Date: 6 Dec 2024 07:05:00
Message: <web.6752e771320682331f9dae3025979125@news.povray.org>
kurtz le pirate <kur### [at] freefr> wrote:

> This exemple come from MathMod, "Vase_3 by Abderrahman Taha 31/10/2019"

Nice.  There have been a lot of MathMod shapes that I'd like to replicate in
POV-Ray.

> Do you agree with the use of select() to replace if() ?
Yes - there are few other options to do that, if any.

> On the left is MathMod, on the right where I am.


No time for me to investigate this in detail right now but:

Isosurfaces of complex things can be tricky - especially if you're trying to use
certain "forms" of equations.

First thing is to check messages and see what the gradient is.

Then I'd try to take the abs () of the equation and subtract a tiny amount to
see if anything shows up.

Then I might see if subtracting the equation from the r (x,y,z) function gets
you anywhere.

- BW


Post a reply to this message

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