Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

  1. 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.)
  2. You will then create a set of vertices to make the said Letter and Number in 3D. (Think block letters).
    1. Initially, when you come up with the vertices have the letter facing the camera with a depth of .2
  3. 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.
    1. You may do this in JavaScript
    2. You may do this in the Shader.
    3. Just make sure the letters are slightly rotated.
  4. The front, sides, and back should have three different colors.
    1. (Although you will not see the back)
  5. 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

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

Students also viewed these Databases questions

Question

How is an accounting software important in a business? Why?

Answered: 1 week ago