Gamer125 / fofix

Automatically exported from code.google.com/p/fofix
0 stars 0 forks source link

Improve OpenGL usage especially for python-opengl >= 3.x #350

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some optimizations could take place by following the tips given at:
http://www.siafoo.net/article/58

I'm sure we could gain from this.

Original issue reported on code.google.com by evily...@gmail.com on 5 Dec 2008 at 2:13

GoogleCodeExporter commented 9 years ago
I use ubuntu 9.10 that comes with python 2.6 and pyOpengl 3 preinstalled. With a
Phenom2 940 and a ATI 4850 1GB the game is too laggy and i cant play it. I cant 
even
install a 2.x version of pyOpengl because it require pithon << 2.5. I think this
issue shuld be resolved with high priority. 

Original comment by f...@hotmail.it on 5 Nov 2009 at 12:31

GoogleCodeExporter commented 9 years ago
Unfortunatly, PyOpenGL 2 is fading out and i'm getting desperate at getting 
decent
performance with PyOpenGL 3... to the point where i'd welcome more performant
alternatives... 

It's quite discouraging to see Perl+OGL being 170 times faster than 
Python+PyOpenGL3...

Original comment by evily...@gmail.com on 5 Nov 2009 at 1:23

GoogleCodeExporter commented 9 years ago
This may not negate the issue of cleaning up FoFiX code to go faster, but it 
seems
the people working on pyOpenGL have done something to improve the issue 
themselves.
On a whim I went to http://sourceforge.net/projects/pyopengl/files/ and 
downloaded
PyOpenGL-3.0.1a2, and was getting performance of about 40-45 FPS (I don't know 
what I
was getting before). But then I also noticed and promptly installed another 
package
in those files, aptly named PyOpenGL-accelerate-3.0.1a2 (py2.6 version, of 
course)
and my FPS went up to around 60 FPS with no other modifications.

This should help quite a bit. I'm eager to see if others get similar results.

Original comment by death.au on 6 Nov 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Right, I can agree with your findings to the fullest extent. I get mostly 
55-60FPS
running Megalight with RB notes on my Core 2 Duo 2.0GHz laptop, with 256MB 
Nvidia
9600M graphics card. Lowest framerate measurement I saw was in the mid 30s. 
These
lower framerates always occurred when there was a high density of notes in some 
way.
Therefore, although this new version of PyOpenGL and the accelerator work very 
well,
code optimisations in FoFiX itself are still needed in places.

Original comment by evilbobt...@gmail.com on 6 Nov 2009 at 11:25

GoogleCodeExporter commented 9 years ago
I agree with evilbob. The performance must be fixed. I loved MFH-Alarian Mod 
and then
I tried Fofix and got crap performance. Around 20fps. I prefer 45-60 fps. 

Original comment by CookieBo...@gmail.com on 29 Dec 2009 at 5:54

GoogleCodeExporter commented 9 years ago
rhythm games really should be played at the 100fps mark... you'll be surprised 
at how
little you stuff up :)

Original comment by fallin...@gmail.com on 30 Dec 2009 at 10:26