Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How to make a 3d letter and number in WebGL Drawing a 3D letter A and 3D number 88 (This this assignment you cannot use
How to make a 3d letter and number in WebGL
Drawing a 3D letter A and 3D number 88
(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
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