POV-Ray : Newsgroups : povray.object-collection : Polyhedra library : Re: Polyhedra library Server Time
25 Apr 2024 18:18:23 EDT (-0400)
  Re: Polyhedra library  
From: Bill Pragnell
Date: 12 Aug 2009 05:05:01
Message: <web.4a828594cda2f1c26dd25f0b0@news.povray.org>
SharkD <mik### [at] gmailcom> wrote:
> Bill Pragnell wrote:
> > Many of them are very simple, but the larger ones can be quite complex. Each
> > include file contains the vertices in a global array (for the advanced user)
> > and three macros for instantiating the shape; most of the stellar icosahedra
> > includes are 1200+ lines.
>
>
> Why are you storing the individual vertices instead of generating them
> using an equation?

Quite simply, because I don't know how! (Well, except the simpler cases like the
platonic/archimedean solids).

I am converting the polyhedra from a library of meshes - someone has already
done the necessary calculations to generate them; I simply want to play with
the shapes and make them available to other users. The meshes are not big, so
there's no advantage to a native SDL polyhedron generator beyond elegance and
the joy of the challenge.

I've been distracted from this by RL recently, but they will make it to the
object library sometime soon, promise!

Bill


Post a reply to this message

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