Steph August 20, 1999, 03:27 AM 

Opps yes, I must have click the bad one??
The solution you explain is the one I am using at the moment, it works well for convex and not too complex non convex object, I have fast shadows for boxes, sphere and even torus... but for complex object ( human body ), this solution don't work perfectly... Thank you for your help
Steph
Steph wrote: >> >> >>Tim Lewis wrote: >>>>One way of quickly generating silhouette edges is by changing your object representation >>>>from polygons referencing shared vertices to polygons referencing shared edges, which then reference shared vertices. The edges also point to two polygons that share that edge (or more, if you want to allow it). Given that backfacing polygons have a flag set to specify that, you can just go through the edge list, looking for edges that are either referenced by just one polygon or are referenced by one polygon that is front facing and another that is backfacing. >>>>Save all these edges into a list and you have a set of edges for drawing a silhouette edge. >>>>You can further sort this into an array of vertices to form a polygon, rather than just a collection of arbitary edges. >>>> I haven't tested this yet so it might not work, if there are any holes in my idea, let me know. >>>> >>>>Tim.
