Patches item #1095523, was opened at 2005-01-03 22:57
Message generated for change (Comment added) made by bleair2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305988&aid=1095523&group_id=5988
Category: GL
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Leair (bleair2)
Assigned to: Nobody/Anonymous (nobody)
Summary: File Extension for ARB vertex buffer object (VBO)
Initial Comment:
Swig interface and updated typemaps to PyOpenGL
2.0.1.09 to add support for VBOs. Unless contains
updated NeHe lesson 45 and OpenGLContext test script
File list:
./interface/GL/ARB/vertex_buffer_object.i
./interface/GL/GL__init__.i
./interface/simple_typemaps.inc
./interface/util.inc
./OpenGL/Demo/NeHe/lesson45.py
./OpenGLContext/tests/gldrawarrays_VBO.py
./PyVBOReadme.txt
See the PyVBOReadme for usage details
----------------------------------------------------------------------
>Comment By: Brian Leair (bleair2)
Date: 2005-04-09 01:13
Message:
Logged In: YES
user_id=949163
Revised patch to work for PyOpenGL 2.0.2 and SWIG 1.3.23
----------------------------------------------------------------------
Comment By: Mike C. Fletcher (mcfletch)
Date: 2005-02-12 15:22
Message:
Logged In: YES
user_id=34901
Okay, have reviewed and tried to integrate the patch for
2.0.2. I'm not really thrilled about initialising the
extension within the core GL, but I suppose it's the
cleanest solution at the moment.
The typemap for pointers:
%typemap(python, in) (GLvoid * pointer_or_offset,
_GL_Argument_Type arg_type)
does not seem to be working properly; the problem is that we
wind up always having to pass in a "treat pointer as
pointer" argument type for every pointer-setting call.
That's likely a SWIG 1.3.23 change? Don't know at the moment.
I moved the non-simple (pointer) typemap into complex
typemaps, as simple typemaps is more for the
brain-dead-simple stuff.
Traceback (most recent call last):
File "p:\OpenGLContext\visitor.py", line 273, in visit
token = method( self, node )
File "p:\OpenGLContext\rendervisitor.py", line 234, in
Rendering
return node.Render( self )
File "p:\OpenGLContext\scenegraph\shape.py", line 51, in
Render
self.geometry.render (lit = lit, textured = textured,
mode=mode)
File "p:\OpenGLContext\scenegraph\indexedfaceset.py", line
152, in render
mode=mode,
File "p:\OpenGLContext\scenegraph\arraygeometry.py", line
115, in render
glVertexPointerd(self.vertices)
TypeError: glVertexPointerd() takes exactly 2 arguments (1
given)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305988&aid=1095523&group_id=5988
|