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 details)

Uploaded Source

File details

Details for the file OpenglExample-1.2.tar.gz.

File metadata

  • Download URL: OpenglExample-1.2.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for OpenglExample-1.2.tar.gz
Algorithm Hash digest
SHA256 e7a1ad2d04b2b19b992c545c59df4d598800dfe6c32a83713c1d30c3eb7b0223
MD5 b583943862167fe1313fcbf24bfff143
BLAKE2b-256 aa8aee1b1aea48b587036e8c2ff059bb2fafffc75e08da77be71d8ae464865ee

See more details on using hashes here.

Supported by

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