Python – No handlers could be found for logger “OpenGL.error”
Okay, what is it, and why does it occur on Win2003 server, but not on WinXP.
Okay, what is it, and why does it occur on Win2003 server, but not on WinXP.
import pygame import OpenGL from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * import pywavefront scene = pywavefront.Wavefront('Handgun_obj.obj') vertices =( (1,-1,-1), (1,1,-1), (-1,1,-1), (-1,-1,-1), (1,-1,1), (1,1,1), (-1,-1,1), (-1,1,1), ) edges = ( (0,1), (0,3), (0,4), (2,1), (2,3), (2,7), (6,3), (6,4), (6,7), (5,1), (5,4), (5,7) ) colors = ( (1,0,0), (0,1,0), (0,0,1), (0,1,0), … Read more