{ "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.7" ], "description": "![Build Status](https://github.com/Moguri/panda3d-simplepbr/workflows/Pipeline/badge.svg)\n[![](https://img.shields.io/pypi/pyversions/panda3d_simplepbr.svg)](https://pypi.org/project/panda3d_simplepbr/)\n[![Panda3D Versions](https://img.shields.io/badge/panda3d-1.10%20%7C%201.11-blue.svg)](https://www.panda3d.org/)\n[![](https://img.shields.io/github/license/Moguri/panda3d-simplepbr.svg)](https://choosealicense.com/licenses/bsd-3-clause/)\n\n# panda3d-simplepbr\n\nThis is a simple, basic, lightweight, no-frills PBR render pipeline for [Panda3D](https://www.panda3d.org/).\nIt is currently intended to be used with [panda3d-gltf](https://github.com/Moguri/panda3d-gltf), which will output textures in the right order.\nThe PBR shader is heavily inspired by the [Khronos glTF Sample Viewer](https://github.com/KhronosGroup/glTF-Sample-Viewer).\n*Note:* this project does not make an attempt to match a reference renderer.\n\n## Features\n* Supports running on potatoes with an easy OpenGL 2.1+ requirement\n* Forward rendered metal-rough PBR\n* All Panda3D light types except ambient (point, directional, and spot)\n* Filmic tonemapping \n\n## Notable Todos\nThere are a few big things still missing and are planned to be implemented:\n\n* Normals\n* Shadow mapping\n* Environment maps\n\n## Other missing features\nThe goal is to keep this simple and lightweight.\nAs such, the following missing features are *not* currently on the roadmap:\n\n* Something to deal with many lights (e.g., deferred, forward+, tiling, clustering, etc.)\n* Fancy post-process effects (temporal anti-aliasing, ambient occlusion, screen-space reflections)\n* Environment probes\n\n## Installation\n\nUse pip to install the `panda3d-simplepbr` package:\n\n```bash\npip install panda3d-simplepbr\n```\n\nTo grab the latest development build, use:\n\n```bash\npip install git+https://github.com/Moguri/panda3d-simplepbr.git\n\n```\n\n## Usage\n\nJust add `simplepbr.init()` to your `ShowBase` instance:\n\n```python\nfrom direct.showbase.ShowBase import ShowBase\n\nimport simplepbr\n\nclass App(ShowBase):\n def __init__(self):\n super().__init__()\n\n simplepbr.init()\n```\n\nThe `init()` function will choose typical defaults, but the following can be modified via keyword arguments:\n\n`render_node`\n: The node to attach the shader too, defaults to `base.render` if `None`\n`window`\n: The window to attach the framebuffer too, defaults to `base.win` if `None`\n`camera_node`\n: The NodePath of the camera to use when rendering the scene, defaults to `base.cam` if `None`\n\n### Textures\n\nThe shader currently assumes that the following textures are in these slots:\n\n0. BaseColor\n1. MetalRoughness\n2. Normals (not currently supported)\n\n## Example\n\nFor an example application using `panda3d-simplepbr` check out the [viewer](https://github.com/Moguri/panda3d-gltf/blob/master/gltf/viewer.py) in the [panda3d-gltf repo](https://github.com/Moguri/panda3d-gltf).\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-simplepbr", "keywords": "panda3d", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "panda3d-simplepbr", "package_url": "https://pypi.org/project/panda3d-simplepbr/", "platform": "", "project_url": "https://pypi.org/project/panda3d-simplepbr/", "project_urls": { "Homepage": "https://github.com/Moguri/panda3d-simplepbr" }, "release_url": "https://pypi.org/project/panda3d-simplepbr/0.2.3/", "requires_dist": [ "panda3d" ], "requires_python": "", "summary": "A simple, lightweight PBR render pipeline for Panda3D", "version": "0.2.3" }, "last_serial": 5882678, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c9061d88c9689209aaaf04d6d95c482f", "sha256": "ad433ed73b1c02773621f3c6e3818dbdb8ccd68aeb95d3ffad4bb9f5d441e14f" }, "downloads": -1, "filename": "panda3d_simplepbr-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c9061d88c9689209aaaf04d6d95c482f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7054, "upload_time": "2019-09-17T03:00:00", "url": "https://files.pythonhosted.org/packages/21/fc/187a526901e8d054ee95c8fb0b24219ae2b3cb6ec4b7b5d23d2d83ed6873/panda3d_simplepbr-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "255bb8166a2c063d8778f17b35f8be37", "sha256": "53544ef596eeb333e9e39d883b1dda6670ae42926f1f45cdb2c4b40d95ae033d" }, "downloads": -1, "filename": "panda3d_simplepbr-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "255bb8166a2c063d8778f17b35f8be37", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7495, "upload_time": "2019-09-20T17:28:24", "url": "https://files.pythonhosted.org/packages/5d/2a/49bd379d3a31edab4f8ef1aa950f4e9849f01a6600a64758f75694bca3c8/panda3d_simplepbr-0.2-py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "aa3f532c5dac3d7f2559f94f24502873", "sha256": "f981ed4cf7c279ed10f2426c60b0b172b7f43d87339f60b9f6884454c86f4078" }, "downloads": -1, "filename": "panda3d_simplepbr-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "aa3f532c5dac3d7f2559f94f24502873", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7541, "upload_time": "2019-09-24T04:24:34", "url": "https://files.pythonhosted.org/packages/41/95/d8082370207825af010e3223cd02ab9e441125cf29608e27140b0dd7054a/panda3d_simplepbr-0.2.1-py3-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "ed5934e2b611b43ce5529cc774200473", "sha256": "012cd4b0d061b8fd6841d2be8ea7aa45819e50b23cfdcb44f170c645d03a843d" }, "downloads": -1, "filename": "panda3d_simplepbr-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ed5934e2b611b43ce5529cc774200473", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7534, "upload_time": "2019-09-24T04:35:50", "url": "https://files.pythonhosted.org/packages/78/6e/3ddb1dbc74fca533453e674d26d3a34663234a72a9087fc0c7eb65c10f97/panda3d_simplepbr-0.2.2-py3-none-any.whl" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "e6f17551bb817d33089a3ef5ac423c53", "sha256": "c1f3c3191c78cdce1eeaae3cd5c00c7fa15429f83be2e82da323d3f81b63a283" }, "downloads": -1, "filename": "panda3d_simplepbr-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e6f17551bb817d33089a3ef5ac423c53", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7543, "upload_time": "2019-09-25T01:54:04", "url": "https://files.pythonhosted.org/packages/07/74/6c3e0fbd3895874dfded1501d46a6751d4494d907b50d8d94ea51fc6c659/panda3d_simplepbr-0.2.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6f17551bb817d33089a3ef5ac423c53", "sha256": "c1f3c3191c78cdce1eeaae3cd5c00c7fa15429f83be2e82da323d3f81b63a283" }, "downloads": -1, "filename": "panda3d_simplepbr-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e6f17551bb817d33089a3ef5ac423c53", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7543, "upload_time": "2019-09-25T01:54:04", "url": "https://files.pythonhosted.org/packages/07/74/6c3e0fbd3895874dfded1501d46a6751d4494d907b50d8d94ea51fc6c659/panda3d_simplepbr-0.2.3-py3-none-any.whl" } ] }