Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw one or more interesting and colorful figure(s) in one display window using 2D graphics primitives. The stick figure pictures on next page can be

Draw one or more interesting and colorful figure(s) in one display window using 2D graphics primitives. The stick figure pictures on next page can be of your reference. Requirements: 1.

2. Each figure must be composed of at least 8 separate parts, i.e., each part should be able to be controlled individually in the future.

3. Color each part of the figure with appropriate colors.

4. Display the figures name appropriately in the scene.

5. Add the following controls allowing the users interaction:

a. Allow users change the color of one or more components of the figure.

b. Allow users to display the image in full screen mode or not.

c. Allow users to display the figures name or not.

6. Add interesting animations to make it to be a dancing stick figure:

a. The animation must include at least two of the three OpenGL basic geometric transformation functions.

b. At least three moving parts must be involved in the animation at any moment.

c. Add keyboard/mouse controls or both to stop/run the animation.

7. Instructions for user interactions must be displayed in the standard output window.

8. Carefully design the solution first, then start the coding from scratch, and add the design to the program as comments (part of the documentation).

9. Both coding style and documentation contribute to the grading score.

a. Try your best to add appropriate documentation in your code so even an outsider can understand your method.

b. The authors name, file name, purpose of the program, all user defined (except the main function) functions input, output, and action/process must be included in the documentation.

c. Do not use global variable if possible.

d. Do not do hard coding if possible.

e. Do not make a single function too long. Implement each single and small task in functions

10. Name the source code as project03.cpp and submit it to blackboard. Bonus (up to 5pts):

1. Make a movie of the animation. Hints:

3. Please make sure the code can be run in Visual Studio 2012 before submission.

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

Use a three-step process to develop effective business messages.

Answered: 1 week ago