Skip to content

gusmendez99/python-opengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-opengl

Simple OpenGL project with pygame and pyopengl. Iron Man model applying shaders (see images below).

Requirements

  • Three shaders (60 pts).
  • Textures (10 pts).
  • Normal vertices (10 pts).
  • Camera (20 pts).
  • Project aesthetics (20 pts).

Instructions

  1. Switch between wireframe (press Q key) or filled model (press E key).
  2. Mouse move for rotation (x-axis).
  3. Press W or S keys to go forwards and backwards and A or D to strafe left or right with the camera.
  4. Press UP or DOWN keys to zoom model.
  5. Switch between shaders with the following numbers:
    1. Default shader (Press 1).
    2. Glow shader (Press 2).
    3. Fog shader (Press 3).
    4. Fluid shader (Press 4).
  6. Press ESC to exit.

Shaders

Default

default

Glow

glow

Fog

fog

Fluid

fluid

About

Simple OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages