Re: [PyOpenGL-Users] processor usage & import images
Brought to you by:
mcfletch
From: Andrew S. <str...@as...> - 2004-08-03 16:02:34
|
On Aug 3, 2004, at 1:59 AM, enrike wrote: > Hi > > when i run my progam it takes 98% of the CPU. > I would like to know some suggestions about who to reduce and control > this. > maybe reducing the fps?. is there any other way? synchronize to vsync -- only draw as many frames as get displayed. > I have been using SDL and there you would tipicly optimise this by > controlling which parts of the screen are updated. > > Another question is if anyone knows some module that implements python > scripts to import images (to use as textures). > I am using Image but this is a rather big module for my pourpose and > would like to use some python based scripts for this. Another option would be pygame -- see, for example: http://cvs.sourceforge.net/viewcvs.py/visionegg/visionegg/src/ Textures.py?view=markup > thanks! > > -- > enrike > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users |