1. Homepage
  2. Coding
  3. ECE4122/ECE6122 Advanced Programming Techniques for Engineering Applications - Lab 3: OpenGL with OBJ files and Multiple Objects

ECE4122/ECE6122 Advanced Programming Techniques for Engineering Applications - Lab 3: OpenGL with OBJ files and Multiple Objects

Chat with a Specialist
GaTechECE4122ECE6122Advanced Programming Techniques for Engineering ApplicationsOpenGL3D graphicsC++

ECE 4122/6122 Lab 3: OpenGL with OBJ files and Multiple Objects Assignment Writing Service

(100 pts) Category: 3D Graphics Assignment Writing Service

Due: Tuesday October 22th, 2023 by 11:59 PM Assignment Writing Service

To create a dynamic 3D graphics application using lighting, shading, model transformations, and keyboard inputs. Assignment Writing Service

Description: Assignment Writing Service

You can use the code from tutorial09_Assimp to create a C++ application that loads in the obj files for the 3D chess pieces and the chess board. Assignment Writing Service

Modify the keyboard inputs so that (5 points each) Assignment Writing Service

  1. 1)  ‘w’ key moves the camera radially closer to the origin. Assignment Writing Service

  2. 2)  ‘s’ key moves the camera radially farther from the origin. Assignment Writing Service

  3. 3)  ‘a’ key rotates the camera to the left maintaining the radial distance from the origin. Assignment Writing Service

  4. 4)  ‘d’ key rotates to camera to the right maintaining the radial distance from the origin. Assignment Writing Service

  5. 5)  The up arrow key radially rotates the camera up. Assignment Writing Service

  6. 6)  The down arrow radially rotates the camera down. Assignment Writing Service

  7. 7)  The ‘L’ key toggles the specular and diffuse components of the light on and off but leaves the Assignment Writing Service

    ambient component unchanged. Assignment Writing Service

  8. 8)  Pressing the escape key closes the window and exits the program Assignment Writing Service

Points grading: Assignment Writing Service

Turn-In Instructions Assignment Writing Service

Create a Lab3 folder at the same level as the other tutorialxx _xx folders and place your code and the attached folders containing the obj file information in that folder. Assignment Writing Service

Modify the top level CMakeLists.txt file to build your Lab3 application. You can make any needed changes to the files in the common folder to handle the keyboard input. Assignment Writing Service

Zip up the folders Lab3 and common into Lab3.zip and upload this zip file on the assignment section of Canvas. When the TAs replace the existing folders with yours and the code should compile and run correctly. You can also include a short, narrated video of your program in action. Assignment Writing Service

Grading Rubric: Assignment Writing Service

If a student’s program runs correctly and produces the desired output, the student has the potential to get a 100 on his or her homework; however, TA’s will look through your code for other elements needed to meet the lab requirements. The table below shows typical deductions that could occur. Assignment Writing Service

AUTOMATIC GRADING POINT DEDUCTIONS PER PROBLEM: Assignment Writing Service

Percentage Deduction Assignment Writing Service

Does Not Compile Does Not Match Output Assignment Writing Service

LATE POLICY Assignment Writing Service

Late Deduction Function Assignment Writing Service

Code does not compile on PACE-ICE!
The code compiles but does not produce correct outputs.
Assignment Writing Service

Clear Self-Documenting Coding Styles Assignment Writing Service

This can include incorrect indentation, using unclear variable names, unclear/missing comments, or compiling with warnings. (See Appendix A) Assignment Writing Service

Percentage Deduction Assignment Writing Service

score – 0.5 * H Assignment Writing Service

H = number of hours (ceiling function) passed deadline Assignment Writing Service

Appendix A: Coding Standards Assignment Writing Service

When using if/for/while statements, make sure you indent 4 spaces for the content inside those. Also make sure that you use spaces to make the code more readable.
For example:
Assignment Writing Service

for (int i; i < 10; i++)

{ Assignment Writing Service

j = j + i; } Assignment Writing Service

If you have nested statements, you should use multiple indentions. Each { should be on its own line (like the for loop) If you have else or else if statements after your if statement, they should be on their own line. Assignment Writing Service

for (int i; i < 10; i++)

{
if (i < 5)
Assignment Writing Service

{
counter++;
Assignment Writing Service

k -= i; } Assignment Writing Service

else Assignment Writing Service

{ Assignment Writing Service

k +=1; } Assignment Writing Service

j += i; } Assignment Writing Service

Camel Case: Assignment Writing Service

This naming convention has the first letter of the variable be lower case, and the first letter in each new word be capitalized (e.g. firstSecondThird). Assignment Writing Service

This applies for functions and member functions as well!
The main exception to this is class names, where the first letter should also be capitalized.
Assignment Writing Service

Variable and Function Names: Assignment Writing Service

Your variable and function names should be clear about what that variable or function represents. Do not use one letter variables, but use abbreviations when it is appropriate (for example: “imag" instead of “imaginary”). The more descriptive your variable and function names are, the more readable your code will be. This is the idea behind self-documenting code. Assignment Writing Service

Assignment Writing Service

File Headers: Assignment Writing Service

Every file should have the following header at the top Assignment Writing Service

/*
Author: your name
Class: ECE4122 or ECE6122 (section) Last Date Modified: date
Assignment Writing Service

Description:
What is the purpose of this file? */
Code Comments: Assignment Writing Service

  1. Every function must have a comment section describing the purpose of the function, the input and output parameters, the return value (if any). Assignment Writing Service

  2. Every class must have a comment section to describe the purpose of the class. Assignment Writing Service

  3. Comments need to be placed inside of functions/loops to assist in the understanding of the flow of Assignment Writing Service

    the code.  Assignment Writing Service

联系辅导老师!
私密保护
WeChat 微信
GaTech代写,ECE4122代写,ECE6122代写,Advanced Programming Techniques for Engineering Applications代写,OpenGL代写,3D graphics代写,C++代写,GaTech代编,ECE4122代编,ECE6122代编,Advanced Programming Techniques for Engineering Applications代编,OpenGL代编,3D graphics代编,C++代编,GaTech代考,ECE4122代考,ECE6122代考,Advanced Programming Techniques for Engineering Applications代考,OpenGL代考,3D graphics代考,C++代考,GaTech代做,ECE4122代做,ECE6122代做,Advanced Programming Techniques for Engineering Applications代做,OpenGL代做,3D graphics代做,C++代做,GaTechhelp,ECE4122help,ECE6122help,Advanced Programming Techniques for Engineering Applicationshelp,OpenGLhelp,3D graphicshelp,C++help,GaTech作业代写,ECE4122作业代写,ECE6122作业代写,Advanced Programming Techniques for Engineering Applications作业代写,OpenGL作业代写,3D graphics作业代写,C++作业代写,GaTech编程代写,ECE4122编程代写,ECE6122编程代写,Advanced Programming Techniques for Engineering Applications编程代写,OpenGL编程代写,3D graphics编程代写,C++编程代写,GaTech作业答案,ECE4122作业答案,ECE6122作业答案,Advanced Programming Techniques for Engineering Applications作业答案,OpenGL作业答案,3D graphics作业答案,C++作业答案,