难道对于pyGame做3D? [英] Does pyGame do 3d?

查看:176
本文介绍了难道对于pyGame做3D?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法找到这个问题的答案的任何地方。我意识到,你必须使用pyOpenGL或类似的做openGL的东西什么的,但我想知道,如果它可以做到非常基本的3D图形没有任何其他依赖关系。

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.

推荐答案

没有,pygame的是一个包装SDL,这是一个2D API。 pygame的不提供任何3D功能,并可能永远也不会。

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

3D库的Python包括的Panda3D DirectPython < /一>,尽管它们可能是相当复杂的使用,尤其是后者。

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

这篇关于难道对于pyGame做3D?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆