POV-Ray : Newsgroups : povray.binaries.images : More isosurface extrusions of 2D SDFs : Re: More isosurface extrusions of 2D SDFs Server Time
8 Jan 2025 00:04:04 EST (-0500)
  Re: More isosurface extrusions of 2D SDFs  
From: Chris R
Date: 24 Dec 2024 10:25:00
Message: <web.676ad23fdef61fd3a6dfc485cc1b6e@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Chris R" <car### [at] comcastnet> wrote:
> > I added most of the 2D SDF functions from Inigo's site to my library as well as
> > a few new utilities for manipulating them.
>
> Having tried to implement and visualize some of IQ's SDFs, some of them seem to
> not behave very well - at least on the interior of the surface.
>
> Have you tried using your converted functions as a pigment {function {}} and
> looking at them on a plane?
>
>
https://news.povray.org/povray.advanced-users/thread/%3Cweb.63cd9a0842d33bbf1f9dae3025979125%40news.povray.org%3E/
>
> triangle, 5-pointed star, octogon.
>
>
> - BW

Here's the same scene using the 5-pointed star SDF.  I have found that using
these functions I need to set the accuracy for the isosurface pretty small to
get good results.  The good thing is that for most of them you don't need big
max_gradients even at those small accuracy values because of the nature of exact
SDFs and the way isosurface computation is done.

For this, accuracy is 1e-5, and max_gradient was 20.  It rendered in 2 minutes
at 6700 PPS.

-- Chris R


Post a reply to this message


Attachments:
Download 'libisoshapes_test.png' (125 KB)

Preview of image 'libisoshapes_test.png'
libisoshapes_test.png


 

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