PDA

View Full Version : Find an edge shared by two specific triangles



Nico
05-03-2000, 06:41 AM
Hi...

How could I flag visible or not an edge shared by two specific triangles?

Does it depends on the structure of my objects...

I have a simple structure: object[3][x]

Many thanks

dmy
05-03-2000, 07:30 AM
autoedgeing... there is something about into foley/van dam computer graphics PnP.

basically you have to make a edge list, each node should have references to the faces it uses.
make a cycle and check the dot product between the two normals of the faces: if it is > than a threshold value, make it visible or invisible.

Dolo/\/\ightY

Nico
05-03-2000, 07:32 AM
Thanks for the answer...

How do I do an edge list?

Many thanks