|
From: Chris S. <chr...@gm...> - 2007-06-13 04:10:29
|
> Hi,
>
> the pyode tuts are a charming way to make first contact, but at tutorial
> three, I wasn't sure exactly _what_ I was seeing, until I replaced
> glutInitDisplayMode (GLUT_RGB | GLUT_DOUBLE)
> with
> glutInitDisplayMode (GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH)
> for the obvious reasons :-).
>
> Regards,
> Thomas
I don't know if this is related, but I've never been able to get tut3
working (and still can't). On Fedora 7, I get the following error:
Traceback (most recent call last):
File "/builddir/build/BUILD/Python-2.5/Modules/_ctypes/callbacks.c",
line 206, in 'calling callback function'
File "ode-tutorial-3.py", line 226, in _drawfunc
draw_body(b)
File "ode-tutorial-3.py", line 69, in draw_body
glPushMatrix()
File "/usr/lib/python2.5/site-packages/OpenGL/error.py", line 188,
in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1283,
description = 'stack overflow',
baseOperation = glPushMatrix,
cArguments = ()
)
|