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 & HelpPrograms › Slow rendering
Page Index Toggle Pages: 1
Slow rendering (Read 649 times)
Slow rendering
Feb 26th, 2008, 6:11pm
 
Hi all,

I've a problem rendering applications with processing...
Those applications run terribly slow (almost 5 fps).

I can see a thousand particules engine running on the web but if I compile it, it goes terribly slow...
ex : Keith Peters bit 101 old experiments http://www.bit-101.com/p5/particles/ringoffire/applet/ works fine but if I download source code and compile it seems to be running on a commodore Amiga 500 !

So I tried to compile it in eclipse with java 1.5 but it's the same.

Do I need to go on java 1.4 ?
Re: Slow rendering
Reply #1 - Feb 26th, 2008, 8:22pm
 
that's code that was developed with the alpha release of processing. with the beta releases, code uses a slower but more accurate renderer by default:
http://processing.org/reference/changes.html

changing size(w, h) to size(w, h, P3D) will fix the problem by using the older renderer for that specific example.
Re: Slow rendering
Reply #2 - Feb 26th, 2008, 11:04pm
 
ok, thanks for the answer !

It seems to work with "Simulate Fluid Example"...

Page Index Toggle Pages: 1