To view this content, you need to install Java from java.com

CS3451, Summer 2006, Question 3
Silhouette and Convex Edges
Catherine Herrington, Email: catherine@polter.net
Submitted June 15, 2006. Source code: Q5. p3d
Built with Processing
Data file: mesh.vts.



Instructions

To toggle displaying the clockwise faces as pink, press the 'c' key. To toggle displaying all other faces as beige, press the 'f' key.

The viewpoint is drawn as the blue dot. The silhouette edges are displayed in red. The convex edges are displayed in light green. The edges that are both convex and silhouette are displayed in pink. All other edges are drawn in black.

Problems with detecting convex edges

In the convexEdge(c) procedure, the dot product d of the vector from the vertex at c to the vertex at c.o to the unit normal going outward from c.t always returns zero. I have been unable to identify the problem.