Search code examples
python3dpygame

Does PyGame do 3d?


I can't seem to find the answer to this question anywhere. I realize that you have to use PyOpenGL or something similar to do OpenGL stuff, but I was wondering if its possible to do very basic 3D graphics without any other dependencies.


Solution

  • No, Pygame is a wrapper for SDL, which is a 2D api. Pygame doesn't provide any 3D capability and probably never will.

    3D libraries for Python include Panda3D and DirectPython, although they are probably quite complex to use, especially the latter.