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 | RSS feed

This version

1.2

Download files

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

Source Distribution

OpenglExample-1.2.tar.gz (2.9 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page