On Wednesday 13 June 2007 06:10, Chris Spencer wrote:
> > 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 = ()
> )

Looks as if the glPushMatrix is missing a glPopMatrix somewhere. Shouldn't be 
too hard to fix, but I don't have the code here.

Diez

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pyode-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyode-user

Reply via email to