pysg

Simple and lightweight 3D render scene graph for python


Keywords
3D geometry, 3D scene, ModernGL, OpenGL, cross-platform, python, scene graph
License
MIT
Install
pip install pysg==0.1.5

Documentation

header

pysg

Simple and lightweight 3D render scene graph for python 3 (tested with 3.8).

Installation

Install the latest version of pysg via pip:

pip install pysg 

Documentation

Link documentation.

Examples

Checkout the examples folder.

Dependencies

  • ModernGL - OpenGL related stuff.
  • pyrr - Math operations in 3D like matrix multiplication etc.. Fast due to the heavy use of numpy.

Built With

  • SPHINX - Used to generate Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Many thanks to the ModernGL and pyrr teams.

Also many thanks to the three.js 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