Question
Request: Must be only 2D robot, not 3D please. You are required to write a program using OpenGL to create a 2D robot . The
Request: Must be only 2D robot, not 3D please.
You are required to write a program using OpenGL to create a 2D robot. The body parts should be rotatable. Your program should allow users to select and rotate body parts. An executable of this assignment (.exe) is on Canvas. Please run it and get the feel of the work you should deliver. 3. Requirements The robot must have at least 16 body parts, as shown in Figure (A). The relationships of these body parts are shown in Figure (B). Figure (A) Figure (B) 3.1. (80pts) Transformation: You program must correctly control the rotations of the 16 body parts (5 points for each body part). Note that the coordinates of a child part should be defined in the coordinate system of its parent, as shown in (B). 3.2. (20pts) Body Part Selection: You program must allow users to select and rotate a particular body part. For example, you may use a key on the keyboard to cycle through the indices of body parts, and then use another key for rotation. 4. What to Turn In Upload the following two things to Canvas: (1) A description explaining how to select and rotate a body part in your program. (2) A .zip file containing all source files (.h and .cpp files).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started