Pyopengl reading obj file
问题 I tried to read obj file with pyopengl but error come from glGenList(1) I just want to read the file and display in opengl Pls can you help me with full code; Am tired of stack and error it took me 3hrd to post this from OpenGL.GL import * from tkinter import messagebox import sys filename = input('pls input file path: ') class OBJ: def __init__(self, filename, swapyz=False): """Loads a Wavefront OBJ file. """ self.vertices = [] self.normals = [] self.texcoords = [] self.faces = [] material =