Bezier Flag Renderer
OpenGL Flag Renderer In this blog I will be talking about my implementation process of an openGL flag renderer which is the first homework of Ceng469 Computer Graphics II . I have used an Dell Vostro-5481 Laptop for my benchmarks which has an Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz with 8 cores and NVIDIA MX130 GPU. Overview I have written my program in C++ using OpenGL, glfw , glew , glm and stbimage library which takes an image file as argument to use as flag texture and generates control points for multiple Bezier patches than renders those patches after sampling them. The program allows users to increase or decrease sampling rate and number of Bezier patches to be generated by using W/S keys and E/D keys respectively. Implementation Process Hello Bezier Since this was my first time dealing with Bezier patches, I started with rendering a single static Bezier patch before creating animated multiple patches. For sampling the patch I have used the formula below we h...