shusenl / proceduralshatter

Voronoi Diagram based Procedural Shatter Effects for Polygons
1 stars 0 forks source link

unbounded face reconstruction / bounded face out of boundary quad #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I. Could not identify the bounded face out of boundary quad

*solution: add subcase for bounded ace
case 1: unbounded face

case 2: bounded face
 subcase 1: all vertex within boundary quad
 subcase 2: have vertex out of boundary quad (solution consider the outside
point as unbounded ray direction and intersect with the quad) 

II. the unbounded face reconstruction could not include the points in the
boundary

*solution: test if the two ray intersect with different edge, if it does so
add the shared point of the edge into polygon point list

Original issue reported on code.google.com by Shusen.Liu.HUST@gmail.com on 22 Apr 2010 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by Shusen.Liu.HUST@gmail.com on 22 Apr 2010 at 4:16