Computer graphics

Description

I was given the below assignment from Computer graphics to solve.

 

How can you help me with this?

In this unit we explored basic concepts of color, color blending, and transparency. For the unit 3 assignment you will demonstrate both your ability to perform transformations on an object and implement principles of color in computer graphics. Beginning with the example program, create a program that will create a 3 dimensional objects. You can use the cube, sphere, or torus knot for this assignment. Your program must display the object within the scene. Your object should be scaled such that it only covers a small portion of the viewing area.
You must animate the object by making it move across the viewing space. When the object reaches the limit of the viewing port it must change direction (think of it as a ball that is bouncing around in a box)

U3%20Assignment%201%20.jpg

The following example will give you an idea of what this should look like (however your example needs to be a 3D scene with a 3D object and not simply a 2D view.
Bouncing Ball Animation
Each time your object reaches the edge of the viewing area and changes direction, the object should change color. The illusion should be that the ball is bouncing off of a wall and that when it hits the wall it changes color. Your scene should be illuminate with a light in a fixed position such that we can see light and shadow areas on the object and the areas of shadow should change as the ball changes position within the view.
To move your object you should alter the x and y coordinates of the object. Assuming that your mesh were to be called myMesh, the position of the object can be changed by changing the following attributes of the object.
myMesh.position.x
myMesh.position.y

You can experiment to determine the limits of the viewing area on your scene and use this to determine when the object has encountered the edge of the viewing area and to determine the bounce. You can cause the object to move by incrementing or decrementing the value of x and y. When your object encounters the edge of the viewing space you should cause it to ‘bounce’ away in an opposite direction. You can do this by decrementing either the x or y position as appropriate. Experiment with this until you can control the direction of moment of your object and simulate the effect of your object ‘bouncing’ around the area of the viewport.
Make sure that you document your code with liberal comments to ensure that a reviewer understands what you were attempting to do within the assignment.
When you have completed the assignment, you must click on the share button and copy both the “Live and Full Preview” and the “Code View” URL’s and submit with your assignment.

Calculate the price of your order

Simple Order Process

Fill in the Order Form

Share all the assignment information. Including the instructions, provided reading materials, grading rubric, number of pages, the required formatting, deadline, and your academic level. Provide any information and announcements shared by the professor. Choose your preferred writer if you have one.

Get Your Order Assigned

Once we receive your order form, we will select the best writer from our pool of experts to fit your assignment.

Share More Data if Needed

You will receive a confirmation email when a writer has been assigned your task. The writer may contact you if they need any additional information or clarifications regarding your task

Let Our Essay Writer Do Their Job

Once you entrust us with your academic task, our skilled writers embark on creating your paper entirely from the ground up. Through rigorous research and unwavering commitment to your guidelines, our experts meticulously craft every aspect of your paper. Our process ensures that your essay is not only original but also aligned with your specific requirements, making certain that the final piece surpasses your expectations.

Quality Checks and Proofreading

Upon the completion of your paper, it undergoes a meticulous review by our dedicated Quality and Proofreading department. This crucial step ensures not only the originality of the content but also its alignment with the highest academic standards. Our seasoned experts conduct thorough checks, meticulously examining every facet of your paper, including grammar, structure, coherence, and proper citation. This comprehensive review process guarantees that the final product you receive not only meets our stringent quality benchmarks but also reflects your dedication to academic excellence.

Review and Download the Final Draft

If you find that any part of the paper does not meet the initial instructions, send it back to us with your feedback, and we will make the necessary adjustments.