POV-Ray : Newsgroups : povray.general : creating a Mesh 2 : Re: creating a Mesh 2 Server Time
5 Aug 2024 22:20:44 EDT (-0400)
  Re: creating a Mesh 2  
From: Andrew
Date: 18 Jul 2002 17:11:14
Message: <3d372ef2$1@news.povray.org>
"Jim Kress" <nos### [at] kressworkscom> wrote in message
news:3d372a40$1@news.povray.org...
> I have a set of vertices (x,y,and z) coordinates and a color
associated with
> each vertex.  How do I create a Mesh 2 that will allow me to visualize
the
> surface with povray v3.5?

Do you have the face definitions with the co-ordinates?  If not, then
you're in trouble because there are an awful lot of ways of joining them
up with triangles :)

If you have the co-ordinates so that every set of three forms a
triangle, it'd be easy to convert them to a mesh (a few minutes with a
text editor or a short program).  If you have a list of vertices, and
then a list to define which vertices form each triangle, then the same
goes for a mesh2.

Note that vertices in a triangle can be given individual textures
(IIRC).


Post a reply to this message

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