skillfed

panda3d-gltf

glTF utilities for Panda3D

panda3d-gltf v1.3.0 116.8K downloads/30d#12,194 on PyPI98
Permissive license BSD-3-Clause AGING released

What it is and what it does

panda3d-gltf is a Python loader that integrates glTF 2.0 file support directly into Panda3D's asset pipeline. It handles both text and binary glTF formats, supports several Khronos extensions (KHR_lights_punctual, KHR_lights, BLENDER_physics), and lets you load glTF models using Panda3D's standard Loader API without manual format conversion. The package depends on panda3d and panda3d-simplepbr for rendering.

Beyond the core loader, it ships with two CLI tools: gltf2bam for offline conversion of glTF to Panda3D's native BAM format, and gltf-viewer, a simple PBR-based model viewer. Configuration options let you control collision shape generation, material conversion, texture handling, and animation import via PRC variables or function parameters.

Use it for:

  • Load glTF models directly in a Panda3D game or application without pre-converting them to BAM.
  • Convert glTF assets to BAM offline for faster loading in production builds.
  • Preview and inspect glTF files with the bundled gltf-viewer tool.
  • Import Blender-exported models with physics metadata using BLENDER_physics extension support.
  • Integrate PBR-textured 3D assets into Panda3D projects with automatic material handling.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds glTF 2.0 file loading to Panda3D, including support for binary glTF, several KHR extensions, and physics metadata, with CLI tools for conversion and viewing.

Yes, if you use Panda3D and need glTF support. The package is stable, has low install friction, and integrates cleanly into Panda3D's loader system. The aging maintenance status is a minor concern but not a blocker—the code is marked Production/Stable, there are no known vulnerabilities, and the repository remains active. Install it if glTF is your primary asset format.

Install

panda3d-gltf on PyPI

pip

pip install panda3d-gltf

uv

uv add panda3d-gltf

poetry

poetry add panda3d-gltf

Installing panda3d-gltf

Before you install

Low friction: pure Python wheel with only two runtime dependencies. Maintenance status is aging—last release was in March 2025—but the repository remains active and the package is marked Production/Stable.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you retain the license notice and disclaimer.

Quickstart

pip install panda3d-gltf

from panda3d.core import Loader
loader = Loader.getGlobalPtr()
model = loader.loadModel('model.gltf')

Requires Panda3D 1.10.4 or later; native loader does not work with pview (use gltf-viewer instead).

Verify before relying

  • Whether the aging maintenance status affects stability or compatibility with recent Panda3D versions.
  • Performance characteristics when loading large or complex glTF files.
  • Completeness of glTF 2.0 spec coverage beyond the listed extensions.

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 2 — panda3d, panda3d-simplepbr
Maintenance aging — 516 days since the last release
Last repo commit
First released
Downloads 116,819/month — #12,194 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: panda3d_gltf-1.3.0-py3-none-any.whl

Keywords: panda3d, gltf

Development Status :: 5 - Production/StableLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3

Tags

gltf loader panda3dload gltf files python3d model import panda3dglTF 2.0 supportconvert gltf to bamgltf viewer pbr rendererpanda3d asset loading
3d-graphicsasset-loadinggame-dev

More Graphics packages