Re: Clipping does not work properly with ATI specific card.
- From: Wolfgang Draxinger <wdraxinger@xxxxxxxxxxxxxxxx>
- Date: Tue, 02 Jun 2009 01:45:23 +0200
jbwest wrote:
I don't think Wolfgang is correct about GL_LINE *polygon mode*.
They are not just lines, IMO they are required to obey polygon
behavior (backface, winding etc).
Well, we're both right in some sense.
I read the spec about those points carefully, now:
If polygon mode is GL_LINE, then rasterization shall take place
like if the corresponding vertices are defined between
glBegin(GL_LINES) /*...*/ glEnd(), if the edge between them is
marked as edge. For a GL_QUADS set of vertices this flag is set
for all edges naturally. Otherwise rasterization shall take
place as usual (my point).
Clipping is performed before the polygon mode takes place, so it
introduces new vertices, and sets their edge flages, if the
clipped vertices themself belonged to an edge. Thereafter
winding and from that backface determination and polygon mode
are determined (jbwest's point).
Wolfgang
.
- Prev by Date: max size of vertex array
- Next by Date: Re: max size of vertex array
- Previous by thread: Re: Clipping does not work properly with ATI specific card.
- Next by thread: Re: Clipping does not work properly with ATI specific card.
- Index(es):
Relevant Pages
|