POV-Ray : Newsgroups : povray.newusers : Generating Meshes from Arrays of Points : Generating Meshes from Arrays of Points Server Time
4 Nov 2024 17:44:41 EST (-0500)
  Generating Meshes from Arrays of Points  
From: Florian Pesth
Date: 7 Feb 2002 15:30:20
Message: <3c62e3dc@news.povray.org>
Hello all!
I'm sure this has been done before, but not by me... ;) I'm writing a small
C-Programm to generate some simple Meshes. I've got an Array of points,
which is unsorted, and now I want to generate a closed Mesh. I'm just not
sure about the algorithm to use for that. I thought that I could search for
the nearest four points and connect them to two triangles and that would fit
to a closed Mesh... But this doesn't seem to work (Maybe there is also a
fault in the programm, who knows ;)). I would be interested in a working
algorithm (not in finished macros).
Thanks
Florian


Post a reply to this message

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