If you look at the PyOpenGL reference documentation on the Web site,
you'll find (for many functions) a section at the end of the manpage
containing a set of links to modules in OpenGL/Demo or OpenGLContext
which use the particular functions defined on the page.
At the moment, I'm linking to the CVS HEAD copy of the modules, but
unfortunately, the ViewCVS script doesn't appear to allow for linking to
particular lines, which makes the immediacy of the links considerably
less. I'm considering finding a decent Python source-code colorizer and
actually including the full text of the modules somewhere with the
linked lines defined with anchors. That's going to be considerably more
work, so it may windup taking quite a while for me to get around to it.
Here is a direct link to one of the pages with samples:
http://pyopengl.sourceforge.net/documentation/manual/glDepthFunc.3G.html
Feedback and/or suggestions for how to make the links more useful welcome.
Enjoy yourselves,
Mike
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
|