(The image is include )You work as a C++ and OpenGL 3D graphics developer for Tr

(The image is include )You work as a C++ and OpenGL 3D graphics developer for Triangle & Cube Studios. This company designs 3D worlds for clients and customizes them based on the varied needs presented by each particular client.
In this professional landscape, the demand for computational graphics and visualizations is continually growing. Your clients may come from the games industry looking for graphics and animations, the healthcare industry for medical visualizations, the entertainment industry for computer-generated imagery (CGI) and visual effects, business industries for 3D printing to create physical objects for applied real-world problem solving, and much more. When you are assigned one of these types of projects, you become responsible for writing code in OpenGL to create objects, apply texture, apply light, render, and control virtual environments relative to a virtual camera.
Your current project with Triangle & Cube Studios is to recreate a 3D version of a 2D image that you have been given by a client. Your client will later be 3D printing this to use as a preliminary concept for their business, so they only need you to create a simple approximation using a few basic shapes.
This week you will begin recreating the 2D scene by constructing just one 3D object. Note that you will be using the image you selected last week for this task.
Prompt
Using the image you selected in the Module Two milestone, begin creating a 3D object to represent one of the objects in your 2D scene. The object you create in this milestone will need to be made from two or more primitive 3D shapes. You will complete your work in Visual Studio. Be sure to work from a project file that has the libraries set up correctly from your work in Module One.
Specifically, you must address the following rubric criteria:
Create a complex 3D object using at least two primitive shapes. The object you create should be reflective of one object from your 2D scene. At this stage of your object’s creation, you should add different colors to each vertex of the object. This will help you better visualize the variance between the different parts of the shapes you are creating. Note that the code you already have uses rainbow colors on the shapes that are provided; if you use this code you may keep that rainbow format. Remember, the shapes you may wish to use are as follows:Cube
Cylinder
Plane
Pyramid
Sphere
Torus
Apply transformations so shapes are scaled, rotated, and translated (placed) correctly. This work should be relevant for the 2D reference image. For example, if you are working with a cylinder, should it be standing up or lying on its side, based on the image you are referencing? If you are also creating a cube, where should it be placed relative to the cylinder? What sizes are the two objects when compared to each other? It will be easier if you complete these transformations in the right order for your specific object. In general, you will wish to first scale, then rotate, and then translate. While this is not always the case, that is the most likely order for your process to follow.
Create code that follows a logical flow without syntax errors. The code you create needs to be executable and all the code that is included will have to be reached by the execution. Note that not everything should be written in a single function and your work should be well-modularized.
Apply coding best practices in your creations. Pay particular attention to the way you format and comment your code. Program code should be easy to read and follow industry standard code formatting practices, such as indentation and spacing. Commenting best practices should be in place to ensure the source code is briefly and clearly explained using descriptive comments. Any of the shapes will work.
Requirements:

Posted in C++

Explain the syntax and structure of C++ language Identify suitable coding module

Explain the syntax and structure of C++ language
Identify suitable coding modules in simple programmes
Implement multimedia applications using C++ language in an objected-oriented programming style
Apply C++ language to program games
Discuss how C++ language can work with graphics surfaces
Appraise the use of SDL for input and sound
Please use visual studio to attempt the assignment on the attached. Refrain from using ChatGPT etc.

Posted in C++

Explain the syntax and structure of C++ language Identify suitable coding module

Explain the syntax and structure of C++ language
Identify suitable coding modules in simple programmes
Implement multimedia applications using C++ language in an objected-oriented programming style
Apply C++ language to program games
Discuss how C++ language can work with graphics surfaces
Appraise the use of SDL for input and sound

Posted in C++

Answers should be written in c++ language and submitted as .cpp file. Please mak

Answers should be written in c++ language and submitted as .cpp file. Please make code as simple and easy to understand as possible.
Write a program to create a stack data structure (do not use the built-in stack class) using arrays. It should support Push, Pop and Peek operations.
To-do:
Create a stack using arrays with an array size of 10.
Push integers 20, 40, 60 into the stack.
Print the items in stack.
Pop the item from the stack and print the popped item.
Peek the stack and print the top-most element of the stack (do not remove it)
Print the stack.
Expected Output:
Items in the stack: 60, 40, 20
Popped item is: 60
Peeked item is: 40
Items in the stack: 40, 20
2. Write a program to create a linked list structure. It should support insert and delete operations.
To-do:
A. Insert at the beginning of the Linked List:
Insert a node with data value 60 in the first position.
Insert a node with data value 40 in the first position.
Insert a node with data value 20 in the first position.
20 -> 40 -> 60
B. Print the linked list elements.
C. Delete the first element of the linked list and print the linked list.
40 -> 60
D. Delete the last element of the linked list and print the linked list.
40
Expected Output:
Items in the linked list: 20, 40, 60
Items in the linked list after deleting the first element: 40, 60
Items in the linked list after deleting the last element: 40

Posted in C++

STEP PYRAMID If the user chooses the step pyramid, your program should ask how

STEP PYRAMID
If the user chooses the step pyramid, your program should ask how many levels should be in the pyramid, and then create the pyramid.
The Step Pyramid
The step pyramid has a temple structure and entrance at the top, followed by the number of levels the user selects, with stairs going up the middle.

The Step Pyramid
The step pyramid has a temple structure and entrance at the top, followed by the number of levels the user selects, with stairs going up the middle.
The temple structure and entrance will look like this, centered above the pyramid:
_______
|_______|
| ___ |
__|__[_]__|__
For the pyramid itself, the levels repeat the given number of times. The top line in the top level has a slash, followed by four spaces, the stairs, four more spaces and then a backslash. The line below that has one more space on each side between the slashes and stairs. The top line of the second level will have ten spaces on each side of the stairs, and each level after that should increase by 6 spaces on each side from the level above it.
In between each level, there is a line of plus signs, an appropriate width to be the top of the level below. There should not be plus signs above the first level or below the final level. There should be no spaces at the end of the line (for example, if a line ends with there should not be a space after that or the autograder will count it as not matching).
The only characters you’ll need to create the temple and pyramid are: / | [ ] = + _ and spaces. See the example output below for an example of the entire structure.
Your program does not need to work for invalid input (negative numbers, words, etc) but should work for 0 (just the top is shown with no levels below) and for any positive number.
Submitting Your Project
You will submit your project in zyBooks. Your program is graded in three ways:
The step pyramids will be automatically graded, to determine whether your output exactly matches the expected output. (45 points)
Your original art will be evaluated to determine its originality, and to ensure that it follows the requirements given (using a loop and specifying the size). (15 points)
Your code will be evaluated based on style. (40 points)Meaningful identifier names (10 points)
Identifier names should indicate their purpose. Names should be words separated using capitalization, such as sumGrades.
Comments (10 points)
Comments should be easily identifiable. People should be able to understand your program by reading only the comments.
Every function (if you use them) must have a short description stating the purpose of the function, what it receives, and what it returns.
Program Header (5 points)
Every program must have a header detailing the overall goal of the program, the author, date, and environment used.
See the example code at the bottom of the project description for guidance.
Original art copied into the Program Header (5 points)
The output of your original art must be copied into the program header, to help us grade it.
Avoid Global Variables (5 points)
Global variables should be avoided and used only when necessary. Method/Function parameters should be used instead if you use functions.
Code Layout (5 points)
Different nested levels should have different indentation, while statements at the same level should have the same indentation.
Indent at least 3 spaces. Use either spaces or tabs consistently, otherwise the appearance on different devices will be messed up.
Short loops of ~ 5 lines can use loop counter variables such as i or j.

Advice on Getting Started
We’ve included example code at the bottom with a quick introduction to loops in C++ and some guidance on output in C++, which can be very helpful with getting started.
Using that, I’d recommend the following steps for starting on the base of the step pyramid:
1) After getting input for how many sections the user wants, display two slashes and one + for each level. So if the user enters two levels, your program would produce:
+
/
/
+
/
/
2) Next, add a loop or use setw so that each line is indented to form the left side of the pyramid:
+
/
/
+
/
/
3) Now add the | for the stairs, using a loop or setw to line them up:
+ |
/ |
/ |
+ |
/ |
/ |
4) Next use setfill so that there are + all the way to the stairs:
++++++++++++++++|
/ |
/ |
++++++++++++++++++++++|
/ |
/ |
5) Follow similar steps to produce the other side of the pyramid
6) Stop printing the top line of +++ and include the top of the pyramid instead.
7) Make sure you test out your program, trying out different valid numbers of steps.
EXAMPLE SOLUTION:

Posted in C++

Write 5 C++ Programs 6. Binary Search Algorithm: 7. Object-Oriented Programming

Write 5 C++ Programs
6. Binary Search Algorithm:
7. Object-Oriented Programming (OOP) – Bank Account System:
8. Multithreading – Parallel Matrix Multiplication:
9. Exception Handling – Custom Exception:
10. File Handling – Reading and Writing Files:
I want you to write the programs in c++ please and attach the .txt files for me
I don’t have any other information my tutor only given these topic to write the c++ programs

Posted in C++

#include int main() { double num1, num2, num3; std::cout << "Enter

#include
int main() {
double num1, num2, num3;
std::cout << "Enter the first number: "; std::cin >> num1;
std::cout << "Enter the second number: "; std::cin >> num2;
std::cout << "Enter the third number: "; std::cin >> num3;
double sum = num1 + num2 + num3;
std::cout << "Sum of the three numbers is: " << sum << std::endl; return 0; }

Posted in C++

#include int main() { double num1, num2, num3; std::cout << "Enter

#include
int main() {
double num1, num2, num3;
std::cout << "Enter the first number: "; std::cin >> num1;
std::cout << "Enter the second number: "; std::cin >> num2;
std::cout << "Enter the third number: "; std::cin >> num3;
double sum = num1 + num2 + num3;
std::cout << "Sum of the three numbers is: " << sum << std::endl; return 0; }

Posted in C++

I need to make a project that is a game and mine is a game of checkers and every

I need to make a project that is a game and mine is a game of checkers and every two turns (two turns is when both people go twice) a game of blackjack is played and whoever wins that gets to go next till someone wins. The instructions for my project are I have to include conditional branches, loops, and the use of a 2d array. https://we.tl/t-QIiPJhvy51

Posted in C++