{ "info": { "author": "Mitchell Stokes", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[![Build Status](https://travis-ci.org/Moguri/panda3d-gltf.svg?branch=master)](https://travis-ci.org/Moguri/panda3d-gltf)\n[![](https://img.shields.io/pypi/pyversions/panda3d_gltf.svg)](https://pypi.org/project/panda3d-gltf/)\n[![Panda3D Versions](https://img.shields.io/badge/panda3d-1.10%2C%201.11-blue.svg)](https://www.panda3d.org/)\n[![](https://img.shields.io/github/license/Moguri/panda3d-gltf.svg)](https://choosealicense.com/licenses/bsd-3-clause/)\n\n# panda3d-gltf\nThis project adds glTF loading capabilities to Panda3D.\nOne long-term goal for this project is to be used as a reference for adding a builtin, C++ glTF loader to Panda3D.\nIf and when Panda3D gets builtin support for glTF, this module will go into maintenance mode and be used to backport glTF support to older versions of Panda3D.\n\n## Features\n* Adds support for native loading of glTF files\n* Supports glTF 2.0 excluding morph targets\n* Supports binary glTF\n* Includes support for the following extensions:\n * KHR_lights (deprecated in favor of KHR_lights_punctual)\n * KHR_lights_punctual\n * BLENDER_physics\n* Ships with a `gltf2bam` cli-tool for converting glTF files to BAM\n* Ships with `gltf-viewer` for viewing files (including glTF) with a simple PBR renderer\n\n## Installation\n\nUse pip to install the `panda3d-gltf` package:\n\n```bash\npip install panda3d-gltf\n```\n\nTo grab the latest development build, use:\n\n```bash\npip install git+https://github.com/Moguri/panda3d-gltf.git\n\n```\n\n## Usage\n\n### Native loading\n\n`panda3d-gltf` ships with a Python file loader (requires Panda3D 1.10.4+), which seamlessly adds glTF support to Panda3D's `Loader` classes.\nThis *does not* add support to `pview`, which is a C++ application that does not support loading Python file loaders.\nInstead of `pview`, use the `gltf-viewer` that ships with `panda3d-gltf`.\nFor those that need to support Panda3D 1.10.3 or lower, `panda3d-gltf` also supplies a `patch_loader()` function to monkey-patch glTF support to `ShowBase.loader`:\n\n```python\nimport gltf\n\nclass App(ShowBase):\n def __init__(self):\n ...\n gltf.patch_loader(self.loader)\n ...\n```\n\nOn Panda3D 1.10.4+, this function will leave `self.loader` alone in favor of relying on the Python file loader.\n\n### Command Line\n\nTo convert glTF files to BAM via the command line, use the supplied `gltf2bam` tool:\n\n```bash\ngltf2bam source.gltf output.bam\n```\n\n### Viewer\n\n`panda3d-gltf` ships with `gltf-viewer`.\nThis is a simple viewer (like `pview`) to view glTF (or any other file format support by Panda3D) with a simple, PBR renderer.\n\n## API Stability\n\nSince `panda3d-gltf` has not reached a 1.0 release, its API should not be considered \"stable.\"\nHowever, this mostly applies to internals, and effort will be put into keeping the `gltf2bam` API from breaking.\n`patch_loader()` will also be kept stable, but will eventually be phased out in favor of the Python file loader.\n\n## Running tests\n```bash\npython setup.py test\n```\n\n## License\n[B3D 3-Clause](https://choosealicense.com/licenses/bsd-3-clause/)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Moguri/panda3d-gltf", "keywords": "panda3d gltf", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "panda3d-gltf", "package_url": "https://pypi.org/project/panda3d-gltf/", "platform": "", "project_url": "https://pypi.org/project/panda3d-gltf/", "project_urls": { "Homepage": "https://github.com/Moguri/panda3d-gltf" }, "release_url": "https://pypi.org/project/panda3d-gltf/0.3/", "requires_dist": [ "panda3d", "panda3d-simplepbr (>=0.2.2)" ], "requires_python": "", "summary": "glTF utilities for Panda3D", "version": "0.3" }, "last_serial": 5877507, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9bb30b891048c4e1e29090ad57811338", "sha256": "7c8f956cc912ced155e2630d7d695c2c7554dc5b63dcf021e8e4434715fb8345" }, "downloads": -1, "filename": "panda3d-gltf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9bb30b891048c4e1e29090ad57811338", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19578, "upload_time": "2019-08-04T00:18:08", "url": "https://files.pythonhosted.org/packages/14/a4/ff1b3098655fa5fc4842e5a6211335518f5eb25cbf724a542234bab62115/panda3d-gltf-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7d552033144f3e040624990a3a04c4d3", "sha256": "44766df318f9c75f8790d56721c778b763c30025c75141ff8e0c6f388ab28ac3" }, "downloads": -1, "filename": "panda3d_gltf-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7d552033144f3e040624990a3a04c4d3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20490, "upload_time": "2019-08-18T18:14:07", "url": "https://files.pythonhosted.org/packages/bb/60/b9f2a81a2585e6b23e0cb8e0f9ed1893b3a2ff8ee8a5082b67b1e41434b9/panda3d_gltf-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d66cf842191e73dba64518b00b72a872", "sha256": "5f18933e5cde2096d0fc1fd156ebab3df6f638a6df4ddd691df6b32257b80eaf" }, "downloads": -1, "filename": "panda3d-gltf-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d66cf842191e73dba64518b00b72a872", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19769, "upload_time": "2019-08-18T18:14:09", "url": "https://files.pythonhosted.org/packages/46/ae/2a4e838666679133e5d26fc56600c8ea5cf149669bf3ecfa869020b85068/panda3d-gltf-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0adeda5b6e47dac709f29c63e1488bac", "sha256": "273577a3ab63eb0bbde84d1aaaafbeb325000e050413eb3cbdceb1bdaffe9ad3" }, "downloads": -1, "filename": "panda3d_gltf-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0adeda5b6e47dac709f29c63e1488bac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21243, "upload_time": "2019-09-13T00:44:36", "url": "https://files.pythonhosted.org/packages/a1/ad/f5e5b6e02fbec42befc8d47316563f655ce5a6a4f7a8c469501350c1adb7/panda3d_gltf-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d5e422a736659ae887ded084d48e4b8", "sha256": "9bae059df7f3f62839f2487380a3009861feaa974228d4da810f3f944f098d56" }, "downloads": -1, "filename": "panda3d-gltf-0.2.tar.gz", "has_sig": false, "md5_digest": "5d5e422a736659ae887ded084d48e4b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20513, "upload_time": "2019-09-13T00:44:38", "url": "https://files.pythonhosted.org/packages/c0/db/7ecccdc88440306c08214a3285f97379c79a7be6648d3e455a9b3c47e266/panda3d-gltf-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0705aad6a27dbac10d36e25277e99fbb", "sha256": "2750fcba9d02d537dcad5653a83fd860910dcd528f86975de2be66e331f5d438" }, "downloads": -1, "filename": "panda3d_gltf-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0705aad6a27dbac10d36e25277e99fbb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18475, "upload_time": "2019-09-24T04:44:49", "url": "https://files.pythonhosted.org/packages/6e/5f/f016c039a8730c0ea4cff17eaa7a68daf38983c9e18511344ff3bea2cca9/panda3d_gltf-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee171895f542960bff8fc03fa19923d3", "sha256": "8f2b77633b6d5d9f6d72b839bd01cc030b9511c76d54579e8d4fc815af897c1d" }, "downloads": -1, "filename": "panda3d-gltf-0.3.tar.gz", "has_sig": false, "md5_digest": "ee171895f542960bff8fc03fa19923d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18653, "upload_time": "2019-09-24T04:44:51", "url": "https://files.pythonhosted.org/packages/0c/44/b8073078ceb137bd7da42b145f18303623bc841f761a51f2fb330d7a4fc0/panda3d-gltf-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0705aad6a27dbac10d36e25277e99fbb", "sha256": "2750fcba9d02d537dcad5653a83fd860910dcd528f86975de2be66e331f5d438" }, "downloads": -1, "filename": "panda3d_gltf-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0705aad6a27dbac10d36e25277e99fbb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18475, "upload_time": "2019-09-24T04:44:49", "url": "https://files.pythonhosted.org/packages/6e/5f/f016c039a8730c0ea4cff17eaa7a68daf38983c9e18511344ff3bea2cca9/panda3d_gltf-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee171895f542960bff8fc03fa19923d3", "sha256": "8f2b77633b6d5d9f6d72b839bd01cc030b9511c76d54579e8d4fc815af897c1d" }, "downloads": -1, "filename": "panda3d-gltf-0.3.tar.gz", "has_sig": false, "md5_digest": "ee171895f542960bff8fc03fa19923d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18653, "upload_time": "2019-09-24T04:44:51", "url": "https://files.pythonhosted.org/packages/0c/44/b8073078ceb137bd7da42b145f18303623bc841f761a51f2fb330d7a4fc0/panda3d-gltf-0.3.tar.gz" } ] }