Skip to main content

3D model loader for Glass-Engine

Project description

Assimpy -- 为 Glass Engine 提供 3D 模型加载功能

AssimpyGlass Engine 的子项目,是 Assimp 项目的 Python 绑定,为 Glass Engine 提供 3D 模型加载功能。 仅提供 load(file_name:str, flags:int)->Model 函数用于加载模型。其优势在于:

  • 使用 assimp 加载模型后,不做任何的中间类型拷贝,直接将原生内存 buffer 暴露给 python
  • 支持内置纹理加载

你可以在任意需要加载 3D 模型的时候使用 Assimpy,并在其源码中找见加载上来的模型结构, 但不建议你这么做。因为其初衷是为 Glass Engine 提供 3D 模型的加载功能, 因此不过多介绍 Assimpy 的用法,欢迎访问 Glass Engine 项目:

Glass Engine 中的模型加载功能用法请参考:

https://glass-engine-doc.readthedocs.io/zh/latest/model/model.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

assimpy-5.3.1.1.tar.gz (21.6 MB view hashes)

Uploaded Source

Built Distributions

assimpy-5.3.1.1-cp312-cp312-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

assimpy-5.3.1.1-cp312-cp312-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.12 Windows x86

assimpy-5.3.1.1-cp311-cp311-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

assimpy-5.3.1.1-cp311-cp311-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.11 Windows x86

assimpy-5.3.1.1-cp310-cp310-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

assimpy-5.3.1.1-cp310-cp310-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.10 Windows x86

assimpy-5.3.1.1-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl (6.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64 manylinux: glibc 2.35+ x86-64

assimpy-5.3.1.1-cp39-cp39-win_amd64.whl (1.6 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

assimpy-5.3.1.1-cp39-cp39-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.9 Windows x86

assimpy-5.3.1.1-cp38-cp38-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

assimpy-5.3.1.1-cp38-cp38-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.8 Windows x86

assimpy-5.3.1.1-cp37-cp37m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

assimpy-5.3.1.1-cp37-cp37m-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page