On Jan 6, 12:58 am, Rob Williscroft wrote:
> trueli...@gmail.com wrote in news:f8099226-a953-4598-bfe2-61ee5772ce26
> @l33g2000pri.googlegroups.com in comp.lang.python:
>
>
>
>
>
> > Traceback (most recent call last):
> > File "test.py", line 36, in
> > main()
> > File "test.py", line 26,
trueli...@gmail.com wrote in news:f8099226-a953-4598-bfe2-61ee5772ce26
@l33g2000pri.googlegroups.com in comp.lang.python:
>
> Traceback (most recent call last):
> File "test.py", line 36, in
> main()
> File "test.py", line 26, in main
> glutInit(sys.argv)
> File "c:\python25\lib\si
>
> OpenGL.error.NullFunctionError: Attempt to call an undefined function
> __glutInitWithExit, check for bool(__glutInitWithExit) before calling
>
> Can anyone please tell me why?
Your opengl program runs exactly as coded without error
under Debian 5.0 Linux Lenny
Perhaps a req
I follow the , write a small test:
#!/usr/bin/env python
# encoding=utf-8
import sys
from OpenGL.GL import *
from OpenGL.GLUT import *
def display():
glClear(GL_COLOR_BUFFER_BIT)
glColor(1.0, 1.0, 1.0)
glBegin(GL_POLYGON)
glVertex(0.25, 0.25, 0.0)
glVertex(0.75, 0.25, 0.0)
Clay Hobbs wrote:
I am making a program with wxPython that renders objects in 3D using
PyOpenGL, and I am having some problems. For one thing, I forgot how to
make a double-buffered hardware surface.
http://bazaar.launchpad.net/~mcfletch/openglcontext/trunk/annotate/1?file_id=wxcontext.py-20080
I am making a program with wxPython that renders objects in 3D using
PyOpenGL, and I am having some problems. For one thing, I forgot how to
make a double-buffered hardware surface. For another thing,
glColor(1.0, 0.0, 0.0) just before the rendering doesn't make the object
red. Please help, I'm
I am a chinese boy,my english is not good,so i don not know how to
tell you about my question,i hope you can understand what i say.
I like python, and now i using pyopengl to draw three-dimensional.
but how can i use mouse to control objects?such as selecting object.I
know a function( glSelectBuffe
I am a chinese boy,my english is not good,so i don not know how to
tell you about my question,i hope you can understand what i say.
I like python, and now i using pyopengl to draw three-dimensional.
but how can i use mouse to control objects?such as selecting object.I
know a function( glSelectBuffe