Dynad
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|