Posts

Computer Graphics II - HW 2 - Dynamic Cube Mapping

Image
       Hi everyone, in this post, I will talk about my second assignment in CENG469 course, which is cubemapping.   Firstly, I will explain how I implement the homework, then I will talk about issues that I faced during the implementation. So, let's begin! Flight Simulator In this assignment, we were expected to implement environment mapping and reflection capabilities using cubemaps in OpenGL. Normally, the expected end product of this assignment is a drivable car. However, I want to fly an airplane, because why not :) It is also mentioned in the homework text that we are free to implement our own design choices. Then, I start to create the flight simulator.  Firstly, as a challenge to myself, I want to build an abstract renderer like a mini-game engine, not just a single file program.  Since I am dealing with an application with a renderer in my senior project, I wanted this homework codebase to look like this. :) Then, I created corresponding classe...

Computer Graphics HW1 - Bezier Surface Rre

Image
Hi everyone, I will talk about my first assignment in CENG469 course, which is Bezier Surface rendering. Firstly, I will explain how I implement the homework, then I will talk about issues that I faced during the implementation. So, let's begin! In this assignment, we were expected to render smooth Bezier surfaces in OpenGL whose height information was given.  The height information of the surfaces was given with input.txt files.  Here’s the input.txt file format input.txt file format The very first thing that I do in this assignment is parsing the given txt file according to given information. (I will come to that point in the issue part :), because I was parsing the file in wrong order, and It took me to figure out why my shading is not working properly.). After finishing the parsing operation, I will jump to codebase that was provided to us, I start to analyze the codebase. Because, I forgot the  some functionality of OpenGL. Anyway.  Then, I start to implemen...