https://github.com/becheran/pysg
Simple and lightweight 3D render scene graph for python
https://github.com/becheran/pysg
3d-graphics geometry-objects moderngl opengl python scene-graph
Last synced: 4 months ago
JSON representation
Simple and lightweight 3D render scene graph for python
- Host: GitHub
- URL: https://github.com/becheran/pysg
- Owner: becheran
- License: mit
- Created: 2020-01-25T22:15:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T23:33:11.000Z (over 1 year ago)
- Last Synced: 2025-01-01T10:13:58.901Z (5 months ago)
- Topics: 3d-graphics, geometry-objects, moderngl, opengl, python, scene-graph
- Language: Python
- Homepage:
- Size: 395 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://gitlab.com/becheran/pysg_ci/pipelines)
[](https://opensource.org/licenses/MIT)
[](https://pysg.readthedocs.io/en/latest/?badge=latest)

# pysg
Simple and lightweight 3D render scene graph for python 3.
## Installation
Install the latest version of pysg via pip:
``` sh
pip install pysg
```## Documentation
[Link documentation](https://pysg.readthedocs.io/en/latest/).
## Examples
Checkout the [examples folder](/examples).
## Dependencies
* [ModernGL](https://github.com/cprogrammer1994/ModernGL) - OpenGL related stuff.
* [pyrr](https://github.com/adamlwgriffiths/Pyrr) - Math operations in 3D like matrix multiplication etc.. Fast due to the heavy use of [numpy](http://www.numpy.org/).## Built With
* [SPHINX](http://www.sphinx-doc.org/en/master/) - Used to generate Documentation
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
## Acknowledgments
Many thanks to the [ModernGL](https://github.com/cprogrammer1994/ModernGL) and [pyrr](https://github.com/adamlwgriffiths/Pyrr) teams.
Also many thanks to the [three.js](https://threejs.org/) developers where I got a lot of inspiration from.
## TODO
* [ ] Improve render performance (use multi instance rendering)
* [ ] Allow more light sources and add different light types