Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Examples

Requirements

# Install pywavefront in dev mode if you dont have pywavefront installed
python setup.py develop

# Enter the examples directory and install requirements
cd examples
pip install -r requirements.txt

# Run an example
python.exe boxes.py

Boxes

Loads and displays 6 different cubes of the folloing vertex formats:

  • Only positions
  • With normals
  • With vertex color
  • With texture coordinates
  • With texture cooddinates and vertex color
  • With texture coordinates and normals
python boxes.py

Globe Simple

Renders a simple low poly globe with texture coordinates and basic lighting.

python globe_simple.py

Globe Complex

Renders a simple globe (higher resolution) with texture coordinates and basic lighting.

python globe_complex.py
Morty Proxy This is a proxified and sanitized view of the page, visit original site.