$29
• Overview
This assignment is designed for you to understand 3D computer graphics programming. In this homework, you will develop a 2D fractal animation with our rendering engine. Start-ing with our skeleton code, you should implement koch snow ake (https://en.wikipedia. org/wiki/Koch_snowflake) mesh generator (inherited from Engine::Mesh), Snow ake ob-jects (inherited from Engine::RenderObject), and animation class. By using timing function (glfwGetTime()) in GLFW, your snow akes should move smoothly (and not too fast). For constant animation, you need to apply SetPosition and SetOrientation for snow akes. In the main.cpp, there are mesh generator for adding background objects to virtual scene. The background should be composed of OpenGL primitives (Do not use glClearColor(R, G, B) for background). An example of animation is ’snowing’ scene in the background of the night sky with the moon and the stars. Please try to show your creativity and imagination in composing the scene. (interesting object or animation e ect)
Please keep the due date! You also need to write a comment in your code and write up 2-3 pages (10pt, 1.5 space) reports explaining what and how you have done to meet the speci cations given below. Do not just copy your code to your report. Please explain ’how’ your implementation satis es the speci cation.
• Speci cation & Grading
Speci cation
Max pts
1.
Snow animation
40
1.1
Koch snow ake mesh generator (10)
1.2
Implementing Animation and Snow ake class for smooth and natural motion (30)
2.
Background
30
2.1
At least two di erent kinds of objects(primitives) with di erent colors (20)
2.2
Gradient background (e.g using large rectangle) (10)
4.
Document
10
5.
Creativity
20
Total
100
Table 1: Speci cation and Grading
CS380 KAIST