Complete Python OpenGL examples
Freitag, 31. Juli 2009
Fire!
›
This is the old-school fire effect from the 90's, rendered in OpenGL. It uses a combination of Buffer Feedback and Palette rendering, bo...
2 Kommentare:
Sonntag, 3. Mai 2009
Projective Texture Mapping
›
This script will create a Texture containing a Ring image, then it will project this on some green cubes ("project" as in "ov...
1 Kommentar:
Mittwoch, 29. April 2009
Basic Shading
›
The following script demonstrates basic shading. A Vertex Shader and a Fragment (Pixel) Shader are defined. Vertex shaders are necissary to ...
1 Kommentar:
Samstag, 11. April 2009
Render to Texture
›
This Program demonstrates a "render to texture" effect. It uses the "Framebuffer Management"-Technique, which has supers...
3 Kommentare:
Samstag, 4. April 2009
Screenshots from OpenGL
›
The shortest way I found to bring OpenGL screenshots to the hard drive is using the function "frombuffer" from the "imaging L...
1 Kommentar:
Bizarro Error "AttributeError: __class__"
›
In case of errors of the following form: $ python test.py No handlers could be found for logger "OpenGL.arrays.arraydatatype" Trac...
Freitag, 3. April 2009
Rotating Helix
›
The following script will display a rotating Helix. It depends on both PyGame and PyOpenGL. It demonstrates: Texturing Blending (Alpha Chann...
3 Kommentare:
Startseite
Web-Version anzeigen