From: Mike C. Fletcher <mcfletch@vr...> - 2006-09-28 21:44:21
Josh Marshall wrote:
> My sourceforge user id is "jpmarshall".
I've added you to the developer's list, you should have CVS and
ticketing-system access now.
> I downloaded and got OpenGLContext working after some tweaking. I
> added in the line "ArrayType = ndarray" in the vrml/arrays.py and
> changed "return a.__array_typestr__" to "return a.dtype.char" to get
> the latest version of numpy working.
I'll add code to handle either case.
> I've been going through the tests in OGLContext, and some work, the
> majority fail with:
> Traceback (most recent call last):
> File "source/callbacks.c", line 206, in 'calling callback function'
> ctypes.ArgumentError: argument 2: exceptions.TypeError: Don't know how
> to convert parameter 2
> or similar.
Interesting, sounds like a use-of-ctypes problem on OS-X.
> Another class of errors that pop up often is similar to the following:
> File "tests/shaderobjects.py", line 51, in Render
> File "build/bdist.darwin-8.7.0-Power_Macintosh/egg/OpenGL/error.py",
> line 177, in glCheckError
> GLError: GLError(
> err = 1282,
> description = 'invalid operation',
> baseOperation = glUseProgramObjectARB,
> cArguments = (1L,)
> ERROR:context.visitor:method <unbound method
> SelectRenderPass.Rendering> for node _ContextRenderNode( @0x7CD790 )
Interesting again, that looks like an OpenGL-level failure (i.e. bad
coding on my part in creating the test).
I'm just sitting down to spend a few hours on OpenGL-ctypes. Will post
to the dev list regarding any progress.
Mike C. Fletcher
Designer, VR Plumber, Coder
Get latest updates about Open Source Projects, Conferences and News.