A simple waving flag rendering openGL program written in cpp for ceng469 computer graphics 2 course.
make
./main [image_file]
should create an window containing an animated flag continuously. If no input image file is given the program searches for metu_flag.png in the current directory and uses it for texture mapping.
pressing key W and key S increases or decrases sampling rate respectively. Low sample rates would show sharp edges and high sample rates may slow down the program.
Pressing key E increases the number of bezier patches in the flag and key D decreases the number of beziers patches.