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 › 10.6 + opengl + resize => fun
Page Index Toggle Pages: 1
10.6 + opengl + resize => fun (Read 2872 times)
10.6 + opengl + resize => fun
Oct 19th, 2009, 9:52am
 
Hi folks,

i upgraded to 10.6(.1)  and since then, when i resize the window all the content gets garbled and the only way i found is to restart the application.

here is how it looks normally :
http://motscousus.com/stuff/2008-02_Processing.org_patterns/ok.png
and after the window has been resized :
http://motscousus.com/stuff/2008-02_Processing.org_patterns/nok2.png
or
http://motscousus.com/stuff/2008-02_Processing.org_patterns/nok2.png
the thing is 100% openGL and i use this code to resize the window :
     public void init() {
           frame.setResizable(true);      
           super.init();
     }
I tried java 1.5 and java 1.6, it all the same. i am on unibody 13" macbook running snow leopard.

any idea besides downgrading to 10.5 ? :/



Re: 10.6 + opengl + resize => fun
Reply #1 - Oct 22nd, 2009, 12:44am
 
i am the only one having this problem ?

Re: 10.6 + opengl + resize => fun
Reply #2 - Oct 22nd, 2009, 1:20am
 
Perhaps look at some search results
I don't have a Mac, and I guess people rarely resize OpenGL windows, but I recall having seen some related issues (some old, some new).
Re: 10.6 + opengl + resize => fun
Reply #3 - Oct 22nd, 2009, 3:19am
 
i did a quick search and did not find anything (the problem is 10.6 specific).

i'll wait for 10.6.2 to see Smiley

Re: 10.6 + opengl + resize => fun
Reply #4 - Oct 22nd, 2009, 6:43am
 
10.6.2 is suppose to have video driver updates and fix issues with OpenGL OpenCL.
Re: 10.6 + opengl + resize => fun
Reply #5 - Oct 22nd, 2009, 2:46pm
 
found it !!

it's not 10.6 update. but 1.0.8 (1.0.9) of processing.
i did a test on XP. same probkem than on osx 10.6 with processing 1.0.8 and 1.0.9.
but it's fine on XP with 1.0.6 (and not fine XP with 1.0.8 and 1.0.9).

so the problem is definitly introcuded in 1.0.8
i'll revert on the mac to processing 1.0.6 to see if it works (i would be surprised if it wouldn't).


bug created : http://dev.processing.org/bugs/show_bug.cgi?id=1360
Re: 10.6 + opengl + resize => fun
Reply #6 - Oct 28th, 2009, 6:13pm
 
I'm also having some issues with the new version only in my OpenGL sketches. Very strange stuff happens, things are displaced, upside down,  etc. I didn't try to resize the window though since I quickly reverted back to 1.0.5.

I'll include in my next post the famous Robert Hodgin (aka. Flight404) "Particle Emitter" source code as a reference with FIXED BINDTEXTURES. This code was working since 1.0.

Maybe these problems are related?

Eric
Re: 10.6 + opengl + resize => fun
Reply #7 - Oct 28th, 2009, 6:13pm
 
Here is the file:

https://www.yousendit.com/download/Z01OZ295OC9veE94dnc9PQ
Re: 10.6 + opengl + resize => fun
Reply #8 - Oct 29th, 2009, 2:15pm
 
i'll stick to 1.0.6 for now...

Page Index Toggle Pages: 1