Loading...
Logo
Processing Forum
It may be because this computer has an integrated graphics card, but the 1.5.1 P3D renderer is ~2.5x faster than OPENGL. I'm running just the Esfera example, changing nothing but the renderer option in size(). Is there a reason why this would be? Should I be doing something else?

Thanks,
Xiaohan

Replies(5)

Hello, the fact that you are using an integrated video card is probably the reason in this particular case. I tested the Esfera example (Processing 1.5.1) using both the P3D and OPENGL renderers on a PC with a geforce 570 gtx card, and I get around 30 fps (for P3D) and ~50 fps (for OPENGL).

It is also important to note that one limitation of the OPENGL renderer in Processing 1.5.1 is that it doesn't take full advantage of hardware acceleration. Some rendering tasks are hardware accelerated, while others are still implemented in pure Java.

Thanks for your answer. Does this mean that I won't get better performance from the new OPENGL2 renderer? Or Is the new renderer all around better?
The new OpenGL-based renderer is being completely rewritten to make more efficient use of hardware acceleration.

Also note that it was briefly called OPENGL2 during earlier pre-releases, but in the latest alphas of Processing 2.0 it has been renamed to P3D (you can also enable it by using the OPENGL constant). The old, software-based P3D renderer was removed altogether, as well as the original OPENGL renderer.
Updating your video driver can help in getting better performance from your video card, too.
Updated video drivers makes OPENGL slightly faster than P3D now. Thanks for the tip!