Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Design Your Own Planets

This assignment is an exercise in lighting and texture mapping, together with projection geometry/ray tracing.Write a Java program that renders an imaginary science fiction scene from the point of view of a space probe approaching a hypothetical "ocean planet" with an orbiting rocky moon together with a distant gas giant planet in the background. These fictional planets orbit a star near the Orion Nebula.

A jpg file of the Orion Nebula is provided on the course website. Use this as your background image. Your imaginary planet and moons should have surface detail rendered on them. To achieve this you can use the texture mapping technique. Some image files are provided that you can use as texture images.

A start-up program is given. This provides the (x, y, z) coordinates for each of the ocean planet, moon, and gas giant. The origin of this coordinate system is the projection point and the eye point. The size and location of the projection plane is also specified in the start-up code. You will need to use the techniques of projection/ray tracing so that projected sizes of the planet on the image come out correctly.

Note: a graphical user interface is not required in this assignment. Your program should directly display the rendered scene to the screen upon running the program. Note also that here you will be working directly with spheres which have simple properties (no input "wireframe" data are required).

For lighting the planet and moon surfaces, you need to decide on their surface properties using some appropriate combination of ambient, diffuse, and specularillumination models. You can choose any values to give the effect you want, but note that water behaves as a specular reflector. You may assume that these surfaces are illuminated by a single Sun emitting white light and you may choose any appropriate location of this light source.

The best performance will be obtained if you draw the scene onto a JavaBufferedImageand then draw the image to the screen.

Do not use Java 3D. Do not use java.awt.GradientPaint.

A sample scene is provided at the course website. You may render your scene in any way you like. However, your scene should clearly demonstrate the effects of the various lighting techniques and it should give some impression of depth.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M9889162
  • Price:- $55

Priced at Now at $55, Verified Solution

Have any Question?


Related Questions in Homework Help/Study Tips

Introductionto show your ability to create an

Introduction To show your ability to create an object-oriented program, you will construct the Java application as detailed in this document. Your work will be assessed not only on the basis of how well the program works ...

To prepare for this assignmentread the following example as

To prepare for this Assignment: Read the following example: As a 3-year-old, Mateo was afraid of Santa Claus, believed his shadow was following him, and expected that all adults knew his name. He could sing the ABC song ...

Assignment making a differential diagnosisprior to

Assignment: Making a Differential Diagnosis Prior to beginning work on this assignment, please read Chapter 1: Differential Diagnosis Step by Step in DSM-5: Handbook of Differential Diagnosis and review the same case stu ...

Please post responses to the questions listed below in this

Please post responses to the questions listed below in this Discussion Area. In this module, you were tasked to develop a good understanding of the important aspects of ethical research work by completing the Collaborati ...

Assignment 2 critical thinking essaythe purpose of this

Assignment 2: Critical Thinking Essay The purpose of this assignment is to demonstrate your theoretical understanding of psychological momentum and to also have you research and think about this topic in more detail. Rea ...

Clergy and counselor interview and instructional strategies

Clergy and Counselor Interview and Instructional Strategies Plan Project You will interview 1member of the clergy and 1 academic counselor who both interactwith college students. For eachinterview, you will develop 6inte ...

A researcher wants to see how people respond to three new

A researcher wants to see how people respond to three new ad campaign for potato chips. One is funny (A sleeping guy thinks he is eating the best tasting potato chips in the world, though when he wakes up he is chewing o ...

Question project assignment is to have you do more research

Question: Project assignment is to have you do more research on the physical security topic. In theory, everything may look straight forward, however, in real life it might not be like that. In this project you will need ...

Assignment health policy and law basicsas a chief

Assignment : Health Policy and Law Basics As a chief operating officer of a hospital, you have been tasked with opening a new ambulatory care center in your city. Write a 2-3 page paper in which you: Specify whether you ...

Instructionsgo to the csu online library or the internet

Instructions Go to the CSU Online Library, or the internet, and use the Academic Search Complete database to find the article "Managing Risk Perceptions," by Vladimir Ivensky in the peer-reviewed journal Professional Saf ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As