Does pyGame do 3d?

eggbert picture eggbert · Feb 1, 2011 · Viewed 28.2k times · Source

I can't seem to find the answer to this question anywhere. I realise 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.

Answer

Kylotan picture Kylotan · Feb 1, 2011

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.