Need help in Cs-330 practice activities 7 and 8. It is creating light and texture on a pyramid.
cs_330_practice_activity_seven_guidelines_and_rubric.pdf
cs_330_practice_activity_eight_guidelines_and_rubric.pdf
Unformatted Attachment Preview
CS 330 Practice Activity 7 Guidelines and Rubric
Overview
In this course, practice activities will help you to learn OpenGL and build computer graphics skills that
you will need to complete a successful final project.
In Practice Activity 7, you will create commented code for assigning textures to a 3D pyramid.
If you have trouble completing the assignment, be sure to post your questions or issues to the Graphics
Troubleshooting discussion topic. It is essential to ask for help when you need it and successfully
complete each activity, as the course continues to build on earlier learning.
Prompt
Begin by reviewing the resources for Module Six, including the resource on texturing and the Module Six
Tutorials 6-1 through 6-3, which include instructions for setting up SOIL2 and tutorials on texturing.
To complete this practice activity, use commented code to assign the brick texture provided to all sides
of a pyramid object.
All four sides of the pyramid should have the same texture coordinates as shown below.
Below are the texture coordinates for the bottom of the pyramid.
Below is the textured pyramid.
Extending This Activity for Your Final Project
Texturing is a required component of the final project.
Critical Elements
The following critical elements should be addressed in your practice activity submission:
I.
Application Functionality and Visual Assessment
The OpenGL application must meet the required functionality and visual representation that are
the results of solving the programming problem. Achieving this result may require multiple
attempts or iterations.
II.
Code Correctness
Source code is free of logical or syntax errors that prevent the application from running as
expected. You will be given credit for code that is well on its way to meeting specifications or
solving the problem.
III.
Comments and Formatting
All code should be well commented. This is a practiced “art” that requires clarity and concision.
Your comments should explain the purpose of lines or sections of the code and may also include
the method you used to achieve a specific task in the code. Be sure to document any section of
code that is producing errors or incorrect results. Also, all code should be organized to meet
formatting standards.
Rubric
Guidelines for Submission: Your assignment should be submitted as a .cpp file. First, make a copy of the .cpp file by
right-clicking it in the Project Explorer in Eclipse, and then paste it to your desktop.
Please note that while the practice activities are graded, their main purpose is to provide opportunities for you to build
skill and receive feedback that you can incorporate as you work toward the final project.
Critical Elements
Application
Functionality
and Visual
Assessment
Code
Correctness
Comments and
Formatting
Proficient (100%)
The code functions to solve
the problem and passes visual
assessment
Needs Improvement (75%)
Details of the functionality or
visual assessment are not met
in significant instances
Not Evident (0%)
The program does not meet
the specified functionality or
appearance
Value
45
The code is free or nearly free
of logical or syntax errors
The program includes some
significant errors in logic or
syntax
Code comments are
incomplete or unclear, or the
code does not consistently
follow formatting standards
The program exhibits serious
and consistent errors in logic
or syntax
Code annotations are not
present, or the code does not
follow formatting standards
45
Code comments facilitate
understanding of the code,
and the code follows
formatting standards
Total
10
100%
CS 330 Practice Activity 8 Guidelines and Rubric
Overview
In this course, practice activities will help you to learn OpenGL and build computer graphics skills that
you will need to complete a successful final project.
In Practice Activity 8, you will create commented code for lighting a 3D scene with a pyramid.
If you have trouble completing the assignment, be sure to post your questions or issues to the Graphics
Troubleshooting discussion topic. It is essential to ask for help when you need it and successfully
complete each activity, as the course continues to build on earlier learning.
Prompt
First, be sure you have reviewed the chapter resources including Chapter 9: Lights On and the Module
Six Tutorial 6-4 on creating a light.
To complete this assignment, follow these steps:
1. Create two lights and place them at different angles relative to your completed pyramid object.
2. Through commented code, give the key light an intensity of 100% and the fill light an intensity of
10% to add shadows on the pyramid.
3. Finally, give the key light a greenish color.
Extending This Activity for Your Final Project
Lighting is a required component of the final project.
Critical Elements
The following critical elements should be addressed in your practice activity submission:
I.
Application Functionality and Visual Assessment
The OpenGL application must meet the required functionality and visual representation that are
the results of solving the programming problem. Achieving this result may require multiple
attempts or iterations.
II.
Code Correctness
Source code is free of logical or syntax errors that prevent the application from running as
expected. You will be given credit for code that is well on its way to meeting specifications or
solving the problem.
III.
Comments and Formatting
All code should be well commented. This is a practiced “art” that requires clarity and concision.
Your comments should explain the purpose of lines or sections of the code and may also include
the method you used to achieve a specific task in the code. Be sure to document any section of
code that is producing errors or incorrect results. Also, all code should be organized to meet
formatting standards.
Rubric
Guidelines for Submission: Your assignment should be submitted as a .cpp file. First, make a copy of the .cpp file by
right-clicking it in the Project Explorer in Eclipse, and then paste it to your desktop.
Please note that while the practice activities are graded, their main purpose is to provide opportunities for you to build
skill and receive feedback that you can incorporate as you work toward the final project.
Critical Elements
Application
Functionality
and Visual
Assessment
Code
Correctness
Comments and
Formatting
Proficient (100%)
The code functions to solve
the problem and passes visual
assessment
Needs Improvement (75%)
Details of the functionality or
visual assessment are not met
in significant instances
Not Evident (0%)
The program does not meet
the specified functionality or
appearance
Value
45
The code is free or nearly free
of logical or syntax errors
The program includes some
significant errors in logic or
syntax
Code comments are
incomplete or unclear, or the
code does not consistently
follow formatting standards
The program exhibits serious
and consistent errors in logic
or syntax
Code annotations are not
present, or the code does not
follow formatting standards
45
Code comments facilitate
understanding of the code,
and the code follows
formatting standards
Total
10
100%

Purchase answer to see full
attachment

Are you having trouble with the above assignment or one similar?

To date, 239 students have ordered this same assignment from us and received 100% original work. We can do the same for you!

We offers 100% original papers that are written from scratch.We also have a team of editors who check each paper for plagiarism before it is sent to you.

Click this “order now” button to see free Cost Breakdown!