Re: [PyOpenGL-Users] deprecations
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-05-19 17:25:49
|
Andrew Wilson wrote: > Hello, > I may be a little dense, it appears that quit a few functions in > pyOpenGL3.0 have become deprecated (for example, glMatrixMode). I > don't see pointers to the appropriate function that I should upgrade > to, is there a list somewhere? The changes in OpenGL 3.x, and particularly the deprecations, are more involved than a 1:1 change of replacing a given function with another function. OpenGL 3.x is attempting to eliminate the old-style direct-mode APIs (and even many of the OpenGL 1.1 entry points) in favor of an entirely shader-based/attribute-and-uniform-based streaming-geometry rendering model. There are some general instructions here (in the comments): http://blog.vrplumber.com/index.php?/archives/2267-PyOpenGL-3.0.0c1-Available-for-Testing.html and presentation with background here: http://us.pycon.org/2009/conference/schedule/event/94/ note that nVidia has committed to providing support for deprecated functionality on their cards, so you *may* be able to get away without rewrites if your vendor supports you. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |