Question: FIRST ANIMTATION //SHADER TEXT var vertexShaderText = [ 'precision mediump float;', '', 'attribute vec3 vertPosition;', 'attribute vec3 vertColor;', 'varying vec3 fragColor;', 'uniform vec3 theta;', 'uniform

FIRST ANIMTATION

This is the code for basic animation i need to take this code and change it to a screensaver requirements in the doc  FIRST ANIMTATION //SHADER TEXT var vertexShaderText = [ 'precision mediump float;', This assignment will be creating a 90's style screen saver. You must create a complex shape that has 10 faces (at least) You will then create (spawn) these shapes at random locations with z being as far away from the camera as possible. The shapes will steadily move forward (toward the camera). Each shape will rotate at a different random rate around the x, y, z axis Once the object goes past the camera it will be deleted. Create a slider input that will change the creation rate of the objects. Create another slider input that will affect the overall rotation speed of the objects Challenge - After finishing the above requirements watch the video I posted and figure out how to create a projection matrix so the objects appear to be in normal perspective. (Smaller the farther away they are) Moving toward the camera Rotating randomly over 3 axis Slider bar for creation rate Slider bar for rotation rate Getting the perspective view on the camera

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!