Re: [Algorithms] poly-plane clipping
Brought to you by:
vexxed72
From: <cas...@ya...> - 2002-11-17 00:13:49
|
Charles Bloom wrote: > Is there "canonical" poly-plane clipping code (in floats, with > epsilons, please) available somewhere? I've got many versions > of my own, but I was curious if there's some standard solid > code in the way that the Haines/Moller ray-triangle stuff is > now canonical. If you are talking about convex polygons and general planes, it's just the Sutherland-Hodgeman algorithm, right? There are at least two implementations on the Graphic Gems series, but I wouldn't say any of the is the canonical. However, I've seen that many people based his own on the code of the quake tools (including me). Ignacio Castaño cas...@ya... _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es |