From: Manuel
Subject: Triangle vs Polygon
Date: 20 May 2003 18:54:07
Message: <3ecab20f@news.povray.org>
I'm a newbie...sorry for my english and my simple questions.
Which are the advantages of a triangle used to place of a polygon with 3
edges?
Or the polygon must be more than 3 edges?
Thx,
Manuel
In article <3ecab20f@news.povray.org>, "Manuel" <man### [at] tinit>
wrote:
> Which are the advantages of a triangle used to place of a polygon with 3> edges?
1: Space. 3 vertices instead of a list of vertices.
2: Speed. Solving for an intersection with a triangle is simpler than
with a general polygon.
3: If you have a lot of them, you can put the triangles in meshes,
getting even more space and speed optimizations.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
> 1: Space. 3 vertices instead of a list of vertices.> 2: Speed. Solving for an intersection with a triangle is simpler than> with a general polygon.> 3: If you have a lot of them, you can put the triangles in meshes,> getting even more space and speed optimizations.
OK. Thx for explanation.
:-)
Have you an idea about the percentage of speed
improvement (without mesh construction)?
Cheers,
Manuel