"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'
|