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.
IndexDiscussionGeneral Discussion,  Status › Processing 0128
Page Index Toggle Pages: 1
Processing 0128 (Read 866 times)
Processing 0128
Oct 16th, 2007, 4:28pm
 
should be online in about 20 minutes...


ABOUT REV 0128 - 16 October 2007

This release contains major changes to how size() is handled.
It fixes two major bugs, but because size() is so fundamental,
it may cause problems on other systems. Please test!

[ bug fixes ]

+ Window sometimes fixed at 100x100 pixels. I *think* I've managed
 to track this guy down and finally kill it.
 http://dev.processing.org/bugs/show_bug.cgi?id=197

+ Fix problem where background was not being set when using
 the default (Java2D) renderer and with OpenGL.
 http://dev.processing.org/bugs/show_bug.cgi?id=454

+ Sometimes the draw() method would be called twice: no more.
 http://dev.processing.org/bugs/show_bug.cgi?id=587

[ changes ]

+ Removed a lot of code (mostly reflection API mess) related to
 making processing.core work with Java releases earlier than 1.4.
 This is probably the first time processing.core has gotten
 *smaller* in a while. This includes changes to PFont, the
 cursor commands, the sort() methods, and some others

+ Removed versions of background() that take an alpha value.
 Not sure why these were implemented in the first place. If you
 want background() with alpha, draw a rectangle. The problem is
 that supporting alpha for background() introduces several
 inconsistencies with other renderers, for instance OpenGL.
 Do you clear the zbuffer when the alpha is too low? How about
 the other buffers?

+ The sort() methods are now static.

+ Change to JDK 1.4 imports rather than Java 1.1 imports in the
 preprocessor.

+ Fix so that Mac OS X dist script doesn't require root password.

[ additional bug fixes in 0127 ]

+ Several bugs were fixed with createGraphics() in the last release,
 but not all the bug reports were noted. Here are more:
 http://dev.processing.org/bugs/show_bug.cgi?id=160
 http://dev.processing.org/bugs/show_bug.cgi?id=428
 http://dev.processing.org/bugs/show_bug.cgi?id=482
 http://dev.processing.org/bugs/show_bug.cgi?id=530
 http://dev.processing.org/bugs/show_bug.cgi?id=527
Re: Processing 0128
Reply #1 - Oct 17th, 2007, 1:05pm
 
Regarding versions of background() that take an alpha value, I believe they are important for rendering on an offscreen buffer that I draw as an image on top of the main canvas.

I tried drawing a transparent rectangle, but that won't work since the buffer must be cleared. However, since it's cleared with a non-transparent background color, it will draw on top of the main canvas, including areas that should be transparent.

I hope my explanations are clear... As I'm relatively new to Processing there might be other ways to do what I want. Let me know if there are.

Thanks
Re: Processing 0128
Reply #2 - Oct 17th, 2007, 11:28pm
 
right, so there's no way to properly clear an image with semi-transparent pixels when using createGraphics(). which, now i recall, is why i added the versions of the background() command that supported alpha. hrmph. guess i'll put them back in for release 0129.
Re: Processing 0128
Reply #3 - Oct 18th, 2007, 3:21pm
 
About the behavior of the open button on the tool bar, I prefer the previous one.
Re: Processing 0128
Reply #4 - Oct 18th, 2007, 3:27pm
 
casey and i have been discussing that, and whether it makes sense to keep the old behavior for buttons on the toolbar, but use the "new" behavior with from the file menu. it's tough to make the call since we're so used to the way it worked formerly. i'd encourage you to start a thread about it in "suggestions", i need to close this one so it doesn't become a random catch-all for processing comments.
Page Index Toggle Pages: 1