View Full Version : Technical reason why polygon stipple is slow on ATI?

09-02-2004, 04:42 AM
Is there a technical reason why GL_POLYGON_STIPPLE doesn't slow down rendering at all on my geforceFX at home, but at school on my ATI FireGL X1 it makes rendering very very slow?

I want polygon dithering :)

09-02-2004, 08:32 AM
do you want dithering or stippling? two different things.

i any case, it could be any number of things. it could be some combination of states thats forcing a software path, and so on.

try to be more specific about the conditions, post code, etc.

09-03-2004, 11:08 PM
Ok, I thought that dithering was when a polygon is displayed like this:


But either way that is the effect I want. Perhaps you could give me the correct name of this as well?

As for code, well, It is just like:

(render some models via GL_TRIANGLE_STRIP)
(render some models via GL_TRIANGLE_STRIP)
(render some models via GL_TRIANGLE_STRIP)

However, I have vertex and fragment shaders running using during all of this

09-04-2004, 02:33 AM
Joseph, i dont know what to tell you about the speed hit. probably a software path on that fire gl, dunno, not familiar with that card.

dithering is briefly discussed in the redbook (chapter 5, skip down a bit):

basically it allows for an increase in percieved color resolution.

09-04-2004, 02:35 AM
oh, as for the name thing, im thinking "contour", but im not sure what youre after.

09-04-2004, 07:16 AM
Doubt it is a software path since the shader still works and it is not possible that the shader is being done in software.


09-04-2004, 11:23 PM
vp/fp can be emulated in software. just try disabling dithering -- see what happens. try diabling stenciling -- see what happens. compare card specs. how many instructions do your shaders have? what's the maximum number on that card? glGet* is your friend. experiment! :)

heres a site that gives all kinds of info on various cards: www.delphi3d.com (http://www.delphi3d.com)

hope this helps!


09-05-2004, 12:38 AM
oooooops! its www.delphi3d.net (http://www.delphi3d.net)