[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] 3D performance?



PyOpenGL is a great package and in combination with pygame is really a fun 
platform for developing graphics applications of all sorts, however the 
performance of Python (in my experience) isn't fast enough for anything even 
remotely near the complexity of quake, stick with C/C++/asm for those types 
of applications where speed is critical. That being said PyOpengl/Pygame 
might be a viable route for many 2d style sprite games utilizing opengl, I 
would experiment with it; once it stops suiting your needs then you can 
migrate to a faster programming platform. -- Matt

On Monday 28 October 2002 6:29 pm, Andrew Straw wrote:
> On Tuesday, October 29, 2002, at 09:10  AM, wyoon@panix.com wrote:
> > I know that pygame is being primarily used right now for 2D
> > sprite-based games, but what kind of 3D performance can I expect from
> > it? Would it
> > be possible to produce an engine on the level of certain older 3D
> > games, such as Quake2 or Shogo?
>
> In this case the primary use of pygame for graphics would be to open an
> OpenGL window.  To use OpenGL, you'd use PyOpenGL or write Python C
> extensions that call OpenGL directly. In other words, pygame itself
> would have little influence on the performance of your 3D program. Use
> of Python itself or calling OpenGL through PyOpenGL might, although for
> simple scenes on recent hardware, I doubt you'd have any performance
> problems. When using Pygame to open an OpenGL window, pygame is still
> useful for event handling, sound, etc.
>
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org