We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › OpenGL Bug, Windows Only (I think)
Page Index Toggle Pages: 1
OpenGL Bug, Windows Only (I think) (Read 855 times)
OpenGL Bug, Windows Only (I think)
May 6th, 2007, 1:51am
 
Hi, I've got a screenshot from a friend who's got this weird bug on his Windows machine. Here's what's happening:

...

As you can see there is a black line acrosss all of the textures. It seems to be drawing the quad as two tris, which is normal, but they're not quite together.

The graphics is OpenGL with smooth(); turned on.

This does not happen on my iMac( Mac OS X ) or in windows XP on another computer.

Any idea how to fix it?
Re: OpenGL Bug, Windows Only (I think)
Reply #1 - May 6th, 2007, 4:56am
 
Happens on Mac machines too, even though I think it's video-card related.

I've been getting around the problem by completely not using smooth() when about to draw images and textures/fills. Then, if you want a smooth border, draw your shape again but this time with smooth() but without a fill.

I know, it's a hack and kind of a pain, but it's a workaround.
Re: OpenGL Bug, Windows Only (I think)
Reply #2 - May 6th, 2007, 3:03pm
 
http://dev.processing.org/bugs/show_bug.cgi?id=200
Page Index Toggle Pages: 1