Skip to content

cg2021e/assignment-1-DwinandaBagoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Visual Studio Code

Assignment1 (Eyeglasses)

I want to draw a eyeglasses
eyeglasses1
eyeglasses2
eyeglasses3
eyeglasses4

Assignment2 (Draw 2D)

Please create a WebGL-based Graphics application on the repo created in the previous assignment with the following specifications:

  1. The application consists of HTML, JavaScript and CSS (optional) files.
  2. The application contains only one Canvas.
  3. The JavaScript application comprises the definition of vertices that embody the shape of the object photographed in the previous assignment: Select two of the four photos.
  4. The definition of vertex includes position (x, y) and color (r, g, b) as represented on the selected photos.
  5. The shape as shown on one of the selected photos is rendered on the left side of the Canvas: Located in the clip space between X = -1.0 and X = 0.0 axes.
  6. The shape as shown in another selected photo is rendered on the right side of the Canvas: Located in the clip space between X = 0.0 and X = 1.0 axes.
  7. The rendering result on the right side of the Canvas is animated vertically, bouncing back between the top and the bottom walls of the Canvas, with a speed of 0.0xxx units, where xxx is the last three digits of the NRP.
  8. Do not forget to commit and push the changes. The results of the task can be seen at here

Assignment3 (Draw 3D)

Please continue your WebGL application on the same repository as the previous assignment (https://classroom.github.com/a/wxGcZEWk) with the following specifications:

  1. Create a 3D definition of the object being photographed in your very first assignment.
  2. Draw the object twice—on the left and on the right half of the canvas—with the two perspectives corresponding to the two photos selected in the previous assignment.
  3. Add a little cube in the center of canvas, right between the two objects.
  4. Set the cube to glow white and become a light source.
  5. Add an ambient effect with an intensity of 0.abc to both objects, where the value of abc is the last three digits of your Student ID plus 200.
  6. Add a diffuse effect to both objects.
  7. Add a plastic specular effect for the left object.
  8. Add a metal specular effect for the object on the right.
  9. Set the cube so that it can be moved upward with the W key-button and downward with the S key-button.
  10. Set the camera to move leftward and rightward linearly (not orbitally) using the A and D key-buttons. The results of the task can be seen at here

Hackaton

The results of the task can be seen at here

About

assignment-1-DwinandaBagoes created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published