polygon smooth?

BlitzMax Forums/BlitzMax Programming/polygon smooth?

unazebra(Posted 2008) [#1]
hi.
trying to get some float point scrolling going on, read a fair bit on these forums but it goes over my head. basically, im trying to eliminate the flickery gaps between tiles. does this 'gl polygon_smooth' thing work? how does it work? how do i turn it on?
thanks.x


ImaginaryHuman(Posted 2008) [#2]
glEnable GL_POLYGON_SMOOTH

but you also have to switch on blending and choose the SATURATE mode as part of it. Polygon smoothing treats the edge of the polygon as antialiased but will not filter/smooth anything within the polygon. It's an edge-smoothing feature. It does work, I tried it, but I forget what the exact blend mode commands are. It might work after a fashion in LIGHTBLEND also. But I had the trouble of figuring out what the point of it is, because you seem to have to use a SATURATE blend mode in order for it to work properly, and yet this means you can't do alphablending or seemingly solid polygons.???