[Plib-users] clipping performance question.
Brought to you by:
sjbaker
|
From: Gouthas, T. <the...@ds...> - 2001-05-31 05:44:28
|
Just an optimization question for frustrum clipping, which would better be directed to an OpenGL format, but this forum is more convenient at this point in time.. For basic line strips, say of 100's to 1000's of points. Is it worthwhile going to the trouble of calculating a bounding spehere for clipping to the view frustrum, or is line clipping pretty efficient. You would think that an intelligent implementation would check the end points of a line segment first and not attempt to draw it if both were out of the clipping rectangle. Anyone have an idea what OpenGL does? Thanks, Themie |