Hi Gemayel Lira,
That graph certainly shows glReadPixels as taking a large portion of
time. Looking at the code (
http://code.google.com/p/pyggel/source/
browse/trunk/pyggel/scene.py) it shows that glReadPixels is called to
determine if the current mouse position is on a "pickable" object and
sorting the objects by depth. This could certainly be optimized.
Especially in your case, because it appears that you aren't really
using 3D all of your objects sit along one plane. If you think you can
code a patch and submit it that would be great. Otherwise I'm not sure
how soon our busy developers can get to it. I'm sure RB will chime in
soon.
Thanks,
Robert
On Sep 21, 10:37 am, Gemayel Lira <
gemayell...@gmail.com> wrote:
> hello everyone am new to the list, it is a pleasure.
> desenpenho'm trying to improve my program, because I have a few
> objects in the scene and has no reason to be with the average of
> 15FPS, I want to achieve 30FPS or more,
> here is some information that can helphttp://
postimage.org/image/2y8j3x8sk/full/
> I generated usinghttp://
code.google.com/p/jrfonseca/wiki/Gprof2Dot
> any help is welcome.
> I believe I improve glReadPixels, a small demonstration of the
> environment I'm creatinghttp://
dl.dropbox.com/u/41834317/demonstracao_monitoramento.swf