3d Math Library For Python [closed]

2020-02-21 04:47发布

i'm looking for a 3d math library in python or with python bindings.

it needs to handle rotation, translation, perspective projection, everything basically.

what im NOT looking for is a library aimed at drawing on the screen, googling for hours only led to 3d libraries bent on rendering something to the screen. i dont want any visualization whatsoever, all i need is to be able feed a library x,y,z coordinates and recieve the x,y screen coordinates.

i dont mind if its a visualization library, as long as it can be used without rendering anything to the screen.

is there anything like this for python?

Edit: please dont recommend scipy/numpy as they arent aimed at 3d math but at math in general, they look like great tools if i wanted to build the library myself, which i dont. thanks.

标签: python math 3d
9条回答
劫难
2楼-- · 2020-02-21 05:10

What about PyGame? I never used it, but it may contain what you're looking for.

查看更多
Rolldiameter
3楼-- · 2020-02-21 05:10

http://cgkit.sourceforge.net/doc/index.html

The implementation isn't always the best, but it includes quaternions as well as the standard matrix and vector types. I've used it for tools on a couple commercial game projects.

查看更多
Ridiculous、
4楼-- · 2020-02-21 05:17

I would suggest MayaVi. Please take a look at the given link. It does almost everything you mentioned.

查看更多
登录 后发表回答