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.
Page Index Toggle Pages: 1
VBO Headaches! (Read 854 times)
VBO Headaches!
Jul 20th, 2009, 8:07pm
 
[remove/edit]: crash no longer happens with this new VBO demo, for me:

http://benhem.com/VBOdemo

the culprit seems to have been the stop().  I should have known.  But, now I am not positive that it is shutting down its processes perfectly and freeing up the graphics card entirely, so any input from those with more OpenGL experience would be greatly appreciated.  --Ben
Re: VBO Headaches!
Reply #1 - Jul 22nd, 2009, 4:12am
 
ben_hem wrote on Jul 20th, 2009, 8:07pm:
I made the simplest demo I could, and it works great in the Processing IDE.  But online, it works at first but consistently crashes Mac (PPC) browsers when navigating away from the applet, and doesn't work at all on PC/Windows machines.  Not sure about Linux.

Here is my demo, watch out for browser crashing:
http://benhem.com/VBOdemo
and here is the code, in a separate PasteBin:
http://pastebin.com/f36fe74ab

Can anyone see what's going wrong   Thanks!  --Ben


Both applets work fine in Ubuntu 9.04 + Firefox and Sun jre 1.6.  Might be something changed between 1.5 and 1.6 as I believe most macs still have the older version ...


Re: VBO Headaches!
Reply #2 - Jul 23rd, 2009, 9:32am
 
Edit: there's been a crash confirmed with Java 1.6:

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (6b16~pre4-0ubuntu6)
OpenJDK Client VM (build 14.0-b15, mixed mode, sharing)

Firefox 3.0.11
Page Index Toggle Pages: 1