Re: [PyOpenGL-Users] processor specific result
Brought to you by:
mcfletch
From: Charles M. <cm...@in...> - 2005-11-11 12:59:58
|
Fwiw, I have seen this when GL_POLYGON_SMOOTH is enabled. FvW wrote: > Hello, > > I have a python program that draws a map using OpenGL. > On my old card, ASUS V7700pro (GeForce2 GTS), the result was good. > I replaced this card with a ASUS V9520 (GeForce FX5200) because the fan > was worn. This card does not display as expected. > > All area are drawn using GL_POLYGON. I can see the edges of the > triangles as slightly darker lines. If the trangles are very small, that > area looks darker than normal. > > Can anyone tell me what the cause can be, and how to fix it? > Python 2.3, pyopengl 2.0.1.08-5.1, nvidia 7174 drivers > Debian 3.1(Sarge). > > Thanks, > Fulko > > Some code that might be of interest. > The vertices of the different trianges are shared (identical). > > glClearColor(0,0,0,0) > glClear (GL_COLOR_BUFFER_BIT |GL_DEPTH_BUFFER_BIT ) > glShadeModel(GL_SMOOTH) > > glLineWidth(1.0) > glColor3d(0.7,0.7,0.7) > for a in range(area): > v1,v2,v3=a > glBegin(GL_POLYGON) > glVertex2f(v1) > glVertex2f(v2) > glVertex2f(v3) > glEnd() > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users |