About Store Forum Documentation Contact



Post Reply 
Winged edge.
Author Message
Dynad Offline
Member

Post: #1
Winged edge.
Hey,

Ive a question about creating Winged Edges. I have list of vtx and tris but the problem is i need to check if 2 tris sharing the same vertex. After that i need to check if the Winged Edge has 2 adjacent tris.

website about Winged Edge.
http://www.cs.mtu.edu/~shene/COURSES/cs3...ged-e.html

But now when i try to check it works only sideways.. when you count on meshBase->tris() it fills up like e.g a printer. So that doesn't mean it checks the top tris with the bottom tris only sideways.

Is there another solution to check this out. The meshBase is made from the Heightmap terrain.


Thnx,
~Dynad

There is always evil somewhere, you just have to look for it properly.
09-15-2010 12:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Winged edge.
Hi,

I don't understand fully the issue, you can call
mesh_base.setVtxDup* method (optionally, this calculates vertex duplicates)
then
mesh_base.setAdj* method, this calculates adjacencies
then
you can check mesh_base.edge.adj* and mesh_base.tri.adj*
09-15-2010 03:52 PM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #3
RE: Winged edge.
Yes that is exactly what I need wink

There is always evil somewhere, you just have to look for it properly.
(This post was last modified: 03-25-2014 07:02 PM by Dynad.)
09-15-2010 04:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply