View Full Version : edge coloring

03-06-2007, 10:22 AM
Funny problem here.

If I'm running on my mac nvidia card ( with no shaders on ), with multisample off and I draw a transparent model, then the edges of the triangles come out different shade of similar color. I see triangles. If I turn multisample on, then no edges are drawn with a different color.

Now, if I run on my ati card, no edges are drawn with a different color. Having multisample on or off does not appear to matter.

I tried to do something like:


But this does not seem to change anything.

Hmm... :rolleyes:

03-06-2007, 11:16 AM
Try this :
http://www.opengl.org/discussion_boards/ubb/ultimatebb.php?ubb=get_topic;f=2;t=021220;p=1#0000 02

03-06-2007, 12:29 PM
Hmm, I already have GL_CLAMP_TO_EDGE and glPixelStorei(GL_UNPACK_ALIGNMENT,1). In fact, if I change those two things then some solid colored parts of the model get edges -- edges of the model lined up to other things. So, they are solving part of the problem. Probably ran across this issue in the past.

Here is a clue. I blend those polygons that have transparent colors. But if I change the color such that there is no transparency then the triangle edge colors disappear. Unfortunately, I need the transparency and it looks like blue graph paper with white lines on it. :(


03-06-2007, 03:25 PM
Not to do a monologue but I think this is the culprit:


Your right it is something to do with filtering.