Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Overview You work as a C + + and OpenGL. 3 D graphics developer for Triangle & Cube Studios. This company designs 3 D worlds

Overview
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 ervironments 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 evecutable 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.
I need help creating code for this assigment and for an elongated pyramid
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

5. Give examples of variations in contextual rules.

Answered: 1 week ago

Question

f. What stereotypes were reinforced in the commercials?

Answered: 1 week ago