Skip to content

Just a piece of coursework in University of Southampton Module COMP3214

Notifications You must be signed in to change notification settings

shakibbinhamid/OpenGL-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL-Practice

Use this for code snippets for your OpenGL using C++, GLFW, GLEW, GLM projects.

Press -

  • A - A sphere using UV co-ordinates\
  • B - A sphere with the normals at each vertex coming out (looks like a hedgehog)\
  • C - A sphere lit by a point source at infinite distance (using Phong lighting)
  • D - Spheres rotating like solar system and two cones in regular motion
  • E - A textured (earth) UV sphere

Use ARROW keys to move around. Use MOUSE to look around.

Make

Use 'make' on an OSX machine with at least the following settings -

  • GLFW 3, GLEW and GLM are installed (use brew if not installed)
  • OpenGL 4.1 needed (otherwise change the versions in the Shaders and gl_util)

El Capitan was installed on the development system.

NOT Tested on ANY windows or linux system.

Issues -

  • assert(start\_gl()) - in main.cpp may not work, then set start\_gl() to a boolean and assert that

About

Just a piece of coursework in University of Southampton Module COMP3214

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages