Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CS 3 3 0 Module Five Assignment Guidelines and Rubric Overview In this course, all the assignments have preconfigured Visual Studio projects that you should
CS Module Five Assignment Guidelines and Rubric
Overview
In this course, all the assignments have preconfigured Visual Studio projects that you should use to complete each assignment. For this assignment, the project is in the CSContentProjectsAssignment folder. You will add the mapping of textures to shapes in an existing D scene.
If you have any difficulties while completing this assignment, be sure to post your questions or issues to the General Questions discussion. Each assignment builds on earlier assignments. It is essential to ask for help when you need it This way, errors in previous assignments do not affect future ones.
Directions
Before you begin, review the module resources for this week. Then, if you have not done so already, download the CSContent ZIP file and extract the contents to the C drive on your system. If you are using the Virtual Lab, the CSContent folder will already be on Drive U
Once you understand the content for this week, you will begin the assignment by opening the Visual Studio solution SLN file. The file in the CSContentProjectsAssignment folder. If the solution file is opened correctly, the Visual Studio application will automatically launch. Be sure that you are using the version of Visual Studio to complete the assignments and milestones in this course. Issues may occur if you use a different version.
Once the Assignment project is opened in Visual Studio try to build and run the project. If the project builds and runs
successfully, the OpenGL window should display the following scene:
Colorful objects on a scale
The goal of the assignment is to add source code that maps two different textures to at least two of the shapes in the existing D scene.
Review the Sourcing Textures Tutorial in the Supporting Materials section for help with this task. Select a square image to avoid stretching and to make the coordinates easier to work with. The picture below shows the D scene with some example textures mapped to the various shapes:
A seesaw with a triangle on one end and a square and a circle on the other end. All shapes are textured.
All four sides of the pyramid, including the base, should have a brick texture applied. Reference the Sourcing Textures Tutorial, linked in this modules resources section, for additional support in finding a texture to use. We recommend selecting a square image to avoid stretching and to more easily work with the coordinates. Think about how you might lay out your coordinates on a square texture for both a triangle the sides of the pyramid and a square the base of the pyramid before you begin. An example of a finalized pyramid with a brick texture applied is shown below.
Specifically, you must address the following rubric criteria:
Create code to address the required functionality. The work you complete in the project source code must meet the required functionality and visual representation outlined for this assignment. This result may require multiple attempts and programming strategies to get it right, but that is okay! Working in stages is an important part of any coding project.
Apply logic and proper syntax to code. Source code should be free of logical or syntax errors that prevent the application from running as expected. You will be given credit for code that is set up to meet specifications or solve the problem.
Apply commenting and formatting standards to facilitate understanding of the code. All code should be well commented. Commenting is a practiced art. Your comments should be as clear and brief as possible. Your comments should explain the purpose of lines or sections of the code and may also include how you achieved a specific task in the code. Be sure to document any sections of code that produce errors or incorrect results. Organize all code to meet formatting standards.
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