POV-Ray : Newsgroups : povray.programming : Help me pls! Turning list of points into triangle mesh? : Re: Help me pls! Turning list of points into triangle mesh? Server Time
28 Jul 2024 18:17:56 EDT (-0400)
  Re: Help me pls! Turning list of points into triangle mesh?  
From: Margus Ramst
Date: 29 Aug 1999 09:58:49
Message: <37C93C8B.71645AF0@peak.edu.ee>
This will not always work if the polygon is not convex. M could end up outside
the polygon.

Margus

Remco de Korte wrote:
> 
> I don't know if this'll alway work but I would calculate a 'middle'-point (M)
> (adding up aal points in the object and dividing them by the amount of points)
> then step through the row of points connecting two consecutive points to this M
> (creating a triangle.
> Sounds like a fun experimenting thing...
> 
> Remco


Post a reply to this message

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