From: Max G. <gi...@li...> - 2000-03-03 00:45:03
|
Hi, fellows! This is an OpenGL - related problem I think so it's kind off topic here... but I hope some of you will know the answer. I am curious what is the source of the problem that when I have a polygon that lies partially outside the screen, it's not clipped properly. In fact, it isn't clipped at all. It's either clamped to the edge of the window (so, say, if it's a line that should go outside viewport, it is not disappearing but becomes line parallel to the viewport's border) or it disappears at all when portion of it goes outside viewport. Maybe it's a matter of configuring something but I don't have even the slightest idea where to look for the answer. I think that screenshots will tell you more :-) One is zoomed out model, that is drawn correctly. Second one is the same model zoomed in (changed FOV) showing artifacts. I hope it's not the 'proper' behavior, I'd like to avoid doing custom viewport clipping :-) Thanks for any suggestions, Max -- Max Gilead (gi...@li...) http://3d.linart.krakow.pl/OfficinaArtificialis ----------------------------------------------------------------------------- |