POV-Ray : Newsgroups : povray.binaries.images : Bocce - WIP : Re: Bocce - WIP Server Time
18 Jul 2024 08:02:29 EDT (-0400)
  Re: Bocce - WIP  
From: Bald Eagle
Date: 14 Jun 2024 09:55:00
Message: <web.666c4b222d85bd695a6710c25979125@news.povray.org>
"Chris R" <car### [at] comcastnet> wrote:

> One of the things that really helps with this is having a version of
> f_rounded_box that more accurately returns the distance of a point from the
> surface of the box.  That allows me to simply add/subtract other pigment
> functions with a depth I can model to the shape function in the isosurface.
> It's much slower than the built-in f_rounded_box, but gives more controllable
> results.

Interesting.
What equation are you using?

I'm wondering if you might benefit from this:

https://iquilezles.org/articles/distfunctions/

- BW


Post a reply to this message

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