POV-Ray : Newsgroups : povray.general : Macro : Re: Macro Server Time
13 Aug 2024 01:23:32 EDT (-0400)
  Re: Macro  
From: Spider
Date: 7 Dec 1998 19:48:28
Message: <366C76B8.2EF98BBA@bahnhof.se>
Ken wrote:
> 
> Spider wrote:
> 
> > If you look back a bit, I wondered about how to create custom solids a while ago..
> > Now, I've created a macro that does just that, takes an array of vactors,
containing the
> > corner points, and creating a solid from it...
> >
> 
> Question:
> 
> If I have the coordinates for a triangular mesh can I use them
> directly in the array ? Let's say for example I have the vertices
> of an icosahedron. Can they be used to for an icosahedron object ?
> Also what are you using to create the faces of the object created.
> Is it a mesh object ? Also ... And .. What about ... Or ... Could I ...
> Ken Tyler

Ehh... Don't know about that...
This will Create a surface between *ALL* points in the array, (please don't put them
all
in the same plane... I haven't tried it yet, But I can guess...) 
It uses intersection of planes, calculating the normal depending on the points....
Good
enough explination ? So.. it is in fact a solid... (yes, can prolly be used for a halo
container....)

//Spider


Post a reply to this message

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