POV-Ray : Newsgroups : povray.newusers : Mesh and polygons area : Re: Mesh and polygons area Server Time
28 Jul 2024 18:17:27 EDT (-0400)
  Re: Mesh and polygons area  
From: Le Forgeron
Date: 1 Nov 2007 14:13:08
Message: <472a2544@news.povray.org>
Le 01.11.2007 19:25, Francesco nous fit lire :
> I do not find how to measure area of mesh and polygons. I hope I do not have to
> calculate it triangle by triangle. Anyone could help me please?
> 
> 
Mesh are 3D by nature, you're stuck to the triangle per triangle
solution, IMHO.

Polygon are 2D, and there is a well-known shortcut for them, with an
evaluation on a grid (the finer the grid, the better the precision),
it's just that you have to count the number of intersections from
the grid inside the polygon.
Is it simpler for you ?

-- 
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius


Post a reply to this message

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