Re: [PyOpenGL-Users] [pygame] opengl from python - drawing wireframe shape colours and contour in t
Brought to you by:
mcfletch
From: Ian M. <geo...@gm...> - 2009-07-27 17:18:50
|
#Draw the object here #Disable texturing, lighting, etc. here glColor3f(0,0,0) glLineWidth(4) #or whatever glPolygonMode(GL_FRONT_AND_BACK,GL_LINE) #Draw the object here glPolygonMode(GL_FRONT_AND_BACK,GL_FILL) glLineWidth(1) #also or whatever glColor3f(1,1,1) #Enable texturing, lighting, etc. here |