Login  Register

Re: Performance problems

Posted by tiofred on Jul 08, 2011; 2:56pm
URL: https://forum.jogamp.org/Performance-problems-tp3145350p3152052.html

Hi guys, thanks for the answers.
I've made a new test where I do :
ap.setAttribute(CommonAttributes.EDGE_DRAW, false);
ap.setAttribute(CommonAttributes.VERTEX_DRAW, false);
on each cube. I guess that simplify rendering.
And the speed is much better, I create the scene, then add the cameras and they display in 5, 8, 11 and 15 seconds.
When I animate, fluidity is better still not perfect yet.

When I do the scene creation, I don't use much memory or CPU, but when I create the cameras, it begins to suck CPU and memory up.

I can provide a working sample of my code if needed.

I'll have it working the speed of light some day...

Wade : thanks a lot
Julien : merci cher compatriote