Archived

This topic is now archived and is closed to further replies.

Sander

What's a polygon soup?

Recommended Posts

Sander    1332
Lately i''ve been doing a lot of reading on the internet about various graphics rendering topics. One thing I came across quite a few times were so called polygon soups. Can anyone explain (or point to a good, easy to understand resource) what a polygon soup is? Thanx in advance, Sander Maréchal [Lone Wolves Production][Articles][E-mail]

Share this post


Link to post
Share on other sites
Sly    128
From my understanding, a polygon soup is a mesh that consists of a collection of triangles with no particular ordering. Optimized meshes contain triangle strips, fans, etc to make drawing faster.

Share this post


Link to post
Share on other sites
Dean Harding    546
Yeah, except it''s more about space partitioning than triangle strips and fans. A polygon soup is the sort of thing that you create in 3D studio - i.e. just a bunch of triangles with no relation to each other. You then usually want to put those triangles into some sort of structure so that collision detection, vislibility determination and so on are easy and fast to calculate (structures like BSPs, oct trees, etc)


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Dirge    300
From my experiences polygon soup''s are VERY bad. It makes collision detection very diificult as the polygons aren''t grouped into a coherent mesh, they can be anywhere. And if you use backface culling, there are times when you might not even see them. I was thought never ever to use polygon soups and they usually occur when a modeler makes a mistake.

Share this post


Link to post
Share on other sites
Yann L    1802
Polygon soups are not bad. The term is simply given to any kind of polygonal geometry that hasn''t been clustered in any way, ie. at the stage where the octtrees, BSPs, protals, etc. have not been calculated yet.

The geometry is just a huge list of triangles at that point, with no relationship between them. If you export straight geometry out of a 3D modeling package (3DSMax, Maya, whatever) you will automatically get a polygon soup. As soon as you apply any kind of hierarchical sorting or clustering scheme, then it''s not called a polygon soup anymore.

/ Yann

Share this post


Link to post
Share on other sites