Thread: [cgkit-user] drawText freeglut error
Brought to you by:
mbaas
From: arne <arn...@pp...> - 2007-02-04 20:45:30
|
I'm trying to use cgkit to visualize simple mechanical simulations for=20 my students. All seems to work nice, except when I call the function drawText. for instance the following line: drawText((0.0,0.0,0.0),"hello") in the file test.py causes viewer.py to crash with the following error message: viewer.py test.py freeglut ERROR: Function <glutBitmapCharacter> called without first=20 calling 'glutInit'. can anybody give me an advice? I'm working with linux ubuntu Dapper with nvidia graphics driver. --=20 Arne Keller Laboratoire de Photophysique Moleculaire du CNRS Universit=E9 Paris-Sud, Orsay Bat 210 91405 Orsay Tel 01 69 15 82 83 Fax 01 69 15 67 77=20 |
From: Matthias B. <mat...@gm...> - 2007-03-12 13:12:31
|
Hi, > I'm trying to use cgkit to visualize simple mechanical simulations for > my students. > All seems to work nice, except when I call the function > drawText. > > for instance the following line: > > drawText((0.0,0.0,0.0),"hello") in the file test.py > > causes viewer.py to crash with the following error message: > > viewer.py test.py > freeglut ERROR: Function <glutBitmapCharacter> called without first > calling 'glutInit'. > > can anybody give me an advice? I'm currently not able to run that example as I got a new laptop and have just installed PyOpenGL 3.0.0a5 and when I import GLUT I get an attribute error.... Is there anybody else who experiences the above error (I mean the one with the glutBitmapCharacter)? - Matthias - |