Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 797 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 797 Bytes

Room-Viewer-PyOpenGL

Example app that use PyOpenGL | OpenGL 3.3

Ocean surface

About

This is example app that use Python with OpenGL. Application shows room model created by me in Blender and converted to json via assimp2json.

Installation

Install following packages via pip:

  1. PyOpenGL: pip install PyOpenGL PyOpenGL_accelerate
  2. GLFW: pip install glfw
  3. PyGLM: pip install PyGLM
  4. numpy: pip install numpy

If you have errors after installation you will do following:

  1. pip uninstall PyOpenGL PyOpenGL_accelerate
  2. Download and install PyOpenGL and PyOpenGL_accelerate from https://www.lfd.uci.edu/~gohlke/pythonlibs/

Usage

Open your terminal or CMD and call python executable.py or python3 executable.py