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.4.0.tar.gz (54.7 MB view hashes)

Uploaded Source

Built Distribution

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

Uploaded CPython 3.12 Windows x86-64

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