PyOgre & [Py]OpenGL functions

manwe

19-10-2010 11:50:55

Hi,
I have a question concerning OpenGL functions in PyOgre. If I can use/get to OpenGL functions from PyOgre lib or I can mixing PyOgre functions and PyOpenGL?
example of PyOpenGL functions:

def draw(self,c=(0,1,0)):
glPointSize(self.point_size)
glBegin(GL_POINTS)
glColor3f(self.color[0],self.color[1],self.color[2])
glVertex3f(self.x,self.y,self.z);# front face
glEnd()


If answer is positive, please show me little example, how can I do this. :D

dermont

19-10-2010 18:30:15

There is an example in the following link, it should still work but may need updating:

viewtopic.php?f=3&t=8801