Considerable work on PyOpenGL 3.x

"Mike C. Fletcher" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
I've just checked in my changes to PyOpenGL 3.x from this weekend's 
work.  Basically I've added (as mentioned yesterday) raw wrappers for 
the OpenGL core through version 2.0.  These wrappers are generated by 
the extension-wrapping code, so are a little less complete than the 1.1 
and below core.  So, I've been going through and manually wrapping those 
functions that need some manual wrapping.

The version-specific functionality is in VERSION packages inside 
OpenGL.raw.GL and OpenGL.GL.

I've also fixed a bug and tweaked the output of the auto-generation so 
that the raw modules have fewer "stray" symbols.  The bug was in the 
creation of the "annotations" modules.  Only the *first* array argument 
was being wrapped, which meant that the (rare) multi-array calls were 
failing (found in a GLE demo).

I've added a new entry point on the ArrayDataType which returns the 
number of bytes an array would occupy (as distinct from the number of 
"units" (the dimensions)).

I'll try to get some time to work on integrating the GLUT-on-win32 
patch, and then testing/packaging tomorrow evening and do the next alpha 
release then.

Have fun all,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.