Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

CCSI 3161 Assignment #1

Objectives: Introduction to 2D OpenGL programming, GLUT interaction, font drawing & 2D morphing.

Due date:   Oct 5th , 11:59pm.

Hand in:     Electronic submission of entire Windows Visual C (source, compiled,

project files, etc.) using dal.ca/brightspace.  Please zip up your whole project directory and submit the zip file.

Personalized 2D Screen Saver [20 marks total]:

(i)    Basic 2D Drawing [3]:  You will draw in two regions.  In the top region you will    draw your own initials of yourfirst & last name in 2D.  So, if your name is Terry Linton”, you will make an T’ and a L’ .  You can choose whatever colors you like for the vertices.  In the bottom area you will draw the button for controlling the      application.    The button should also have simple shadows.  Note that GLUT does

not provide facilities for buttons; you will have to make them.

Here is an example of what it might look like:

 

However, you will use the letters of yourfirst and last name.

(ii)   2D Morphing [10]:  Morph your two initials gradually into two separate star shapes.

Use double-buffering.

Below shows an example of morphing the letter ‘T’ into a square in OpenGL, but yours should be your ownfirst and last initials morphing two separate star shapes and yours  should morph gradually each frame and not just the 3 positions shown here:

 

(iii)  Morph Button [2]:  Make the button operational.  This is a toggle button with on/off states. The button should change appearance (like color) when on vs off.

(iv)  Your own invention [5]:  Think up some additional feature(s) for your program.  It will need to be something special to get full marks. Add a readmefile that states   exactly what your inventions are and how to use them.