Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

OpenGL with C + + Create a single block shape object. This will be shared by several artifacts. There should be four artifacts, each using

OpenGL with C++
Create a single block shape object. This will be shared by several artifacts.
There should be four artifacts, each using the block shape.
Use the world transform for the following
Each artifact should be scaled .75 in the x direction, .25 in the y direction, .5 in the z
direction
There should be an artifact centered at each of the points ,-
5,0
In the code the first artifact defined should be at (-.5,-.5,0), the second at (-5,
.5,0, the third at (.5,-.5,0), and the fourth at (.5,.5,0)
These blocks should be rotated
The block at (-.5,-.5,0) should be rotated 45 around the x axis
The block at (-.5,.5,0) should be rotated 315 around the y axis
The block at (.5,-.5,0) should be rotated 90 around the z axis
The block at (.5,.5,0) should be rotated 270 around the x axis
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

Step: 3

blur-text-image

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

Building Database Driven Catalogs

Authors: Sherif Danish

1st Edition

0070153078, 978-0070153073

More Books

Students also viewed these Databases questions