Relative Content

Tag Archive for pyopengl

A call to draw with PyOpenGL is causing both entities to disappear

import sys import os sys.path.append(os.getcwd()) from OpenGL.GL import * import glfw from glfw.GLFW import * from glfw import _GLFWwindow as GLFWwindow import glm from includes.GLFW.init_glfw import init_glfw from includes.GL.init_buffers import init_buffers from includes.GL.GLArcball import GLArcball from includes.GL.GLRectangle import GLRectangle global view_state view_state = { ‘eye’: glm.vec3( 0, 0, 2000.0 ), ‘target’: glm.vec3( 0,0,0 ), ‘position’: […]