POV-Ray : Newsgroups : povray.binaries.images : n-foil : Re: n-foil Server Time
20 May 2024 02:45:13 EDT (-0400)
  Re: n-foil  
From: Samuel B 
Date: 6 Aug 2023 20:35:00
Message: <web.64d03b36357dd001f8c47d526e741498@news.povray.org>
"Samuel B." <stb### [at] hotmailcom> wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > "Samuel B." <stb### [at] hotmailcom> wrote:
> > > "Samuel B." <stb### [at] hotmailcom> wrote:
> > > > Pattern function for an n-foil
> > >
> > > Ideally, the center would be empty [...]
> >
> > [Bald Eagle's code]
> >
> > Gives me an N-sided hole in the center.
> > Not sure how to get it to be an actual circle....
> >
> > - BW
>
> Here's what I came up with this afternoon (with added border):
>

And its usage:

plane{
 z, 0
 pigment{
  function{N_Foil(4, .1, .15, 1)}
 }
}


Post a reply to this message

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