POV-Ray : Newsgroups : povray.object-collection : Polyhedra library : Re: Polyhedra library Server Time
29 Feb 2024 09:38:55 EST (-0500)
  Re: Polyhedra library  
From: Bill Pragnell
Date: 21 Jul 2009 18:40:01
Message: <web.4a66430fcda2f1c22d5649c20@news.povray.org>
"clipka" <nomail@nomail> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
> >   Also, if you haven't done so, I think all the polyhedra should be scaled
> > to fit the same space, for consistency. For example, they could be scaled
> > so that they all fit perfectly inside a box from <-1, -1, -1> to <1, 1, 1>.
> > This way it's easy for the user to scale any polyhedron to the size he needs.
>
> .... or not. There's also reason to scale them so all edges are 1 unit in
> length

I thought about it, but it seemed overkill. Also, this wouldn't apply to the
stellar forms, since many of them are composed of highly irregular polygons.

> (which however gives rise to the question whether they should be seated on the
> y=0 plane, or centered around <0,0,0>)

Taken care of - see my reply to Warp.

> or - in case of regular polyhedra - so
> that all vertices are at 1 unit distance from the center.

I could be wrong, but I think that only applies to the Platonics.

> Interesting question, btw: Is there a way to access the individual vertex
> coordinates?

Yes - see my reply to Warp.

Many of your suggestions become possible by having access to the vertices, of
course!

:-)


Post a reply to this message

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