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 › unwanted line in middle of canvas
Page Index Toggle Pages: 1
unwanted line in middle of canvas (Read 505 times)
unwanted line in middle of canvas
Aug 20th, 2008, 3:40am
 
I've noticed that sometimes when I saveFrame() a sequence of frames (tif, png, etc) I get a thin line running horizontally in the center of my sketch. The line is usually red or blue and it seems to exist in 3d space since sometimes objects appear to be behind it and sometimes they are in front of it.

This only seems to occur in OpenGL sketches and I haven't been able to figure out where it's coming from.

Needless to say it's pretty inconvenient to not be able to output my work. Any insights or advice would be HUGELY appreciated.

I'm kind of anxious to get this figured out as I need to finish up an OpenGL project by the end of the week. =\
Re: unwanted line in middle of canvas
Reply #1 - Aug 20th, 2008, 3:56am
 
I think that i FINALLY figure out what the problem is.
I was not aware that if you set global variables for height and width and then pass those into size() it causes odd frame output problems. Apparently this is the case, because hard-coding the sizes into size() seems to solve the problem.
Re: unwanted line in middle of canvas
Reply #2 - Sep 11th, 2008, 10:07pm
 
I've just encountered the same problem in my opengl sketch - although the size() issue doesn't seem to be why.

I have a thin blue line right through the middle of my frames when they are saved out, but look okay in the sketch window,
Helppppppp!!!!!!

Glenn.
Re: unwanted line in middle of canvas
Reply #3 - Sep 12th, 2008, 2:29pm
 
please don't double post.

it's a known bug when you have a size() that's an odd number. it should be fixed soon. if you want it fixed sooner, please file a bug for it so it can be tracked.
Re: unwanted line in middle of canvas
Reply #4 - Sep 12th, 2008, 4:33pm
 
that works now i love you!

Re: unwanted line in middle of canvas
Reply #5 - Oct 16th, 2008, 5:38pm
 
fixed for release 0151.
Page Index Toggle Pages: 1