Skip to main content

A simple example demonstrating how to render an obj file to visualize in 3-D using Pyopengl and Pygame.

Project description

  • Works in python 2.x only. Not tested on Python 3.x
  • Install using pip sudo pip install PyopenglExample
  • You can Install the requirements manually sudo pip install -r requirements.txt
  • To run the code, do:
$ python
>>> from pyopengl_example.demo import demo
>>> demo()
  • After the obj file is loaded, use the arrow keys to move within the scene.
  • Rotation can be observed by left clicking the mouse and moving it in the direction you want to rotate the object.

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
OpenglExample-1.2.tar.gz (2.9 MB) Copy SHA256 hash SHA256 Source None Feb 19, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page