/ComputerGraphics

Source code of samples developed in the course Computer Graphics at ULA VE

Primary LanguageC++MIT LicenseMIT

Computer Graphics

Computer Graphics is an optional course of the Computer Science Department in the School of Systems Engineering at Universidad de Los Andes, Venezuela.

In this course we covered an introduction to 3D graphics with C++ and modern OpenGL by using the OpenGL Extension Wrangler library (GLEW) and GLFW to handle windows and user inputs.

Contents

In this repository, there is a directory for each lecture in this course.

  • Lecture0 contains an example to create and configure a windows.
  • Lecture1 contains an example to render an triangle by defining its vertices manually and the vertex shader and the fragment shader.
  • Lecture2 contains examples for transformations to the triangle.
  • Lecture3 contains examples of projections, interpolations, and indexed draw.
  • Lecture4 contains examples of how to implement a camera and move it around the world.
  • Lecture5 contain an example of how to add textures to our meshes.
  • Lecture6 contains examples of Phong lighting.
  • Lecture7 contains examples of directional shadow mapping.
  • Lecture8 contains examples of omnidirectional shadow mapping.
  • Lecture9 contains an example of sky box.