Projetos
Sobre
Python OpenGL Graphics Framework
Design e mídiaO que você pode fazer
- compile and link
- attributes and uniforms
- built-in shaders for common use-cases
- optionally interleaved
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalpg: The Python Graphics Framework
pg is a lightweight, high-level OpenGL graphics framework for Python. It is a work in progress.
Tutorial
A basic tutorial is available here:
http://pg.readthedocs.org/en/latest/tutorial.html
Features
Many OpenGL applications have a lot of features in common, but there's a lot of boilerplate involved when using OpenGL. This high-level framework lets you focus on your application-specific functionality instead.
- shaders
- compile and link
- attributes and uniforms
- built-in shaders for common use-cases
- vertex buffers
- optionally interleaved
- matrices
- translate, rotate, scale
- perspective and orthographic projections
- transpose, determinant, inverse
- textures
- geometric shapes
- sphere, cuboid, plane, cylinder, cone, axes
- models
- .obj and .stl file formats
- WASD movement
- built-in!
- windowing and input
- glfw-based
- multiple windows
Dependencies
brew tap homebrew/versions
brew install glfw3
pip install Pillow PyOpenGL
Examples
Clone the repository and run main.py to see these and several other examples.
3D Pipes: pipes.py

Gusev Crater: gusev.py

OBJ and STL Models: suzanne.py

Constructive Solid Geometry (CSG): csg.py

Explore projetos relacionados
Carregando…