/cg-is-projects

Projects developed during the Computer Graphics & Interactive Systems class @cse.uoi.gr

Primary LanguageC

Computer Graphics & Integrated Systems Projects

This repo features 3 separate programming exercises revolving around familiarization with OpenGL 3.3. A detailed readme (GR) can be found for each exercise in their respective folders. Developed during the Computer Graphics & Interactive Systems course @cse.uoi.gr.


OpenGL - A

demo img here

The goal of this exercise was to draw 2D shapes on a window using the GLFW, GLM, and GLEW libraries as well as a fragment shader and a vertex shader.


OpenGL - B

demo img here

The goal of this exercise was to dynamically draw a 3D pyramid on a window (using the abovementioned libraries). The pyramid as well as the camera are manipulated using basic transformations (translation, rotation and scaling).


OpenGL - C

demo img here

The goal of this exercise was to create 3D replica scene of a solar system using OpenGL 3.3 (as well as the abovementioned libraries). 3D sphere objects were loaded from .obj files. Textures were loaded from .jpg files and applied to the objects. Camera and objects are manipulated using basic transformations. The user can spawn a meteor which starts from the camera position and travels towards the sun of the solar system. Collision detection is also implemented between the meteor and the planets/sun.