POV-Ray : Newsgroups : povray.newusers : Macro for a pentagram : Re: Macro for a pentagram Server Time
30 Jun 2024 03:26:38 EDT (-0400)
  Re: Macro for a pentagram  
From: RayZ
Date: 30 Jun 2011 08:00:00
Message: <web.4e0c6514e3429ae5416ed4460@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> RayZ <the### [at] gmailcom> wrote:
> > Hi. I am making a macro for a pentagram, or a 5-pointed star. I have tried to do
> > that by using an intersection of 5 triangles, but then I learned intersection
> > doesn't work. So is there another way to make one?
>
>   Is there a reason it has to be an intersection of triangles rather than
> a simple union of them?
>
> --
>                                                           - Warp

Well, I want to make it so that I can define 5 points, and it will make a
"filled" pentagram.
Of course, I can use union, but then I will have to define ten points.
(Goal is to use it to make shapes, and I will use vertices from the shapes to
define the 5 vertices the pentagram will be made on)


Post a reply to this message

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