Question: WebGL Assignment 1 Drawing a 3D letter and 3D shape (This this assignment you cannot use any WebGL fonts, the point is for you to
WebGL Assignment 1
Drawing a 3D letter and 3D shape
(This this assignment you cannot use any WebGL fonts, the point is for you to come up with the vertices yourself)
For this assignment, you will choose one capital letter and one number. (If you choose 1 it must have the bottom and top portion (It cant be just a straight line.)
You will then create a set of vertices to make the said Letter and Number in 3D. (Think block letters).
Initially, when you come up with the vertices have the letter facing the camera with a depth of .2
Now you must rotate the letter and number around the y-axis by -30 degrees. Therefore, you will have to change the x and the z values based on trig.
You may do this in JavaScript
You may do this in the Shader
Just make sure the letters are slightly rotated.
The front, sides, and back should have three different colors.
(Although you will not see the back)
Make sure you draw both the letter AND the number on the screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
