InteractiveGraphics Homework 2 Solved

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

Rate this product

To complete the assignment you need to use GitHub Classroom. Start by creating your own repository in the GitHub Classroom of the course by clicking on this link https://classroom.github.com/a/BLgdgCnC.  The assignment material includes this PDF file and two directories, Homework2 (containing the files homework2.html and homework2.js) and Common (containing the files MVnew.js and initShaders.js). You need only to modify the two files (homework2.html and homework2.js) and add a short documentation in PDF format (more details at the end of this file). Please do not change the names of the files, you only need to modify their content.

 

You need to remove the control sliders and modify the files, so to obtain the following effects:

 

  1. Create a hierarchical model of a (simplified) sheep https://en.wikipedia.org/wiki/Sheep, composed of the following parts;
    1. body
    2. 4 legs, each one composed of 2 independent components (upper and lower leg) c. head
    3. tail

All components are cubes, use the cube function present in the file. The sheep has a white/light grey color.

 

  1. Add a surface on which you position the sheep that corresponds to a grass field. Attach to it a texture (color, bump or both) to give the appearance of a grass field.

 

  1. Load or generate at least two more textures. A color texture to be attached to the front face of the head and a bump texture to be applied to the sides of the body to give the “wool effect”.

 

  1. Create a (very simplified) model of a fence and position it on the surface and near the sheep.

 

  1. Add a button that starts an animation of the sheep so that, starting from an initial position where it is in a walking mode, it walks on the surface towards the fence by moving (alternatively back and forth) the legs, then jumps over the fence and lands on the surface on the other side of the fence.

 

  1. Allow the user to move the camera before and during the animation.

 

Describe your solution in a short document (2-3) describing your solution, the document should include a brief description of the techniques used, the advantages and disadvantages of the proposed solution, the features of your solution.

 

  • homework2-1uxfln.zip