Kayıtlar

Computer Graphics II - Cubemaps & Reflections

Resim
Second Homework - Sky using cubemaps and reflective surfaces Hello everyone, welcome to the second post in our series. We'll continue with our journey of implementing and investigating common computer graphics concepts. This time we'll take a look at the second homework of CENG469, Computer Graphics II course at METU of 2022-2023, which was about implementing skyboxes, and reflective surfaces.   For this homework, we were tasked with implementing reflections, and a skybox that samples from special textures which are 6 sided, just like a cube. Even though my main goal was to create something aesthetically pleasing from the beginning, you can see that it failed horribly by the end. But I have learned a lot, and now have a plan for the future, but that's a story for another time. For now, let's begin delving into this homework, shall we?   The Game It wasn't just a plain old homework, was it? Even though the main goal was to create a sky, and shiny reflections, this ...

Computer Graphics II - Bezier Surfaces

Resim
First Homework - Smooth Surfaces using Bézier Equations Hello everyone, in this series of posts, we'll be talking about the homeworks of the class CENG469 of 2022-2023 and my stories behind their implementations. For the first homework, I was tasked with implementing bezier surface equations in OpenGL, which is an industry standard graphics library, used from video games to scientific visualization applications.  Why is this useful? You ask. Or why you'd even bother with equations in the first place. Or even, you may be wondering what you can create with it, instead of pondering on why or how. Well, I hope that you will understand my perspective by the end of this journey you are coming along with me. Let's begin! Bezier & It's surfaces What is even a Bezier? It's not a what, its who. And its Bézier, a guy who used to be an engineer in Renault. He was a leader in the evolution of the design and manufacturing principles that used mathematics, and helped people ...