POV-Ray : Newsgroups : povray.newusers : Draw an irregular crystal Server Time
26 Nov 2024 01:24:47 EST (-0500)
  Draw an irregular crystal (Message 1 to 3 of 3)  
From: Horst
Subject: Draw an irregular crystal
Date: 13 Dec 2004 04:00:00
Message: <web.41bd59a6c0cc4ff1bb4b485f0@news.povray.org>
My problem: I want to draw an irregular object like a crystal. All
edge-points are known, but not which edge points lie next to an other. If
you know all edgepoints there exists exactly one polygon with planar
planes.

Who can help me to make this object visible??
Thanks and sorry for this beginner-question!

Horst


Post a reply to this message

From: Alain
Subject: Re: Draw an irregular crystal
Date: 13 Dec 2004 06:02:54
Message: <41bd76de$1@news.povray.org>
Horst nous apporta ses lumieres ainsi en ce 2004-12-13 03:58... :

>My problem: I want to draw an irregular object like a crystal. All
>edge-points are known, but not which edge points lie next to an other. If
>you know all edgepoints there exists exactly one polygon with planar
>planes.
>
>Who can help me to make this object visible??
>Thanks and sorry for this beginner-question!
>
>Horst
>
That's not a beginner question. It's a tough nut to break for advanced 
CAD pros. Try making triangles with consecutive triplets and making a 
mesh of those.

Alain


Post a reply to this message

From: Christopher James Huff
Subject: Re: Draw an irregular crystal
Date: 13 Dec 2004 11:15:05
Message: <cjameshuff-B2FE26.11153213122004@news.povray.org>
In article <web.41bd59a6c0cc4ff1bb4b485f0@news.povray.org>,
 "Horst" <abi### [at] webde> wrote:

> My problem: I want to draw an irregular object like a crystal. All
> edge-points are known, but not which edge points lie next to an other. If
> you know all edgepoints there exists exactly one polygon with planar
> planes.
> 
> Who can help me to make this object visible??
> Thanks and sorry for this beginner-question!

Huh. Well, by definition, all planes are planar, which is not very 
helpful. Perhaps you meant that if you have all points of a polygon, 
there is just one plane that passes through all of those points?

Try to clearly state what you have and what exactly you are trying to 
achieve. It sounds like you have a collection of vertices, but no 
connectivity information...you don't know which vertices a vertex 
connects to, you just have a mixed bag of points. Turning this into a 
surface is actually a very difficult problem. If concavities are 
allowed, then there is no unique solution. If they are disallowed, what 
you have is a convex hull, basically something that can be constructed 
as an intersection of planes. There is only one possible solution for a 
convex hull of a given collection of points, which makes it more 
predictable. However, it's possible you might end up with points inside 
the hull, which are not included in the surface, so this isn't a very 
general solution.

Where are you getting your point data?

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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