Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Problem statement: Write a basic 3D model viewer.

Requirements:

Write a 3D model viewer with the following features in Java:

• Uses the provided skeleton code as a foundation for your application. You can modify it as you wish.

• Can load model data from the model files with .dat extension provided on the Stream course page (this

functionality is provided in the skeleton code). You will need to decide on a data structure to store the data.

• Six buttons to increment and decrement the x, y, and z positions of the model in world space, using a translation transform, by a sensible value based on the canvas size (e.g. 10%). The origin must be located at the centre of the screen.

• Three sliders with a range of 0-360 each that adjust the model's rotation in the xy, xz, and yz planes in local model space.

• Two buttons to scale the model up or down by a factor of 1.1 and 0.9, respectively. The initial scale must be chosen based on the model extent such that the model fits nicely into the viewport.

• All transformations must be implemented using matrices.

• Three check boxes: one to toggle rendering the wireframe, one to toggle filling in the polygons' surface area, and one to toggle back-face culling.

• Cull faces that are facing away from the camera when rendering solid objects (i.e. not only the wireframe) and the user has enabled culling. The camera should be located at the origin and facing down the negative z-axis.

• Render the model using the Painter's algorithm. The rendered wireframe model should appear "solid" when the
respective check box is selected. The wireframe mesh should also be clearly visible, overlaid on the surface, when this option is enabled.


Attachment:- New WinRAR archive.rar

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91420901
  • Price:- $15

Priced at Now at $15, Verified Solution

Have any Question?


Related Questions in Computer Engineering

A researcher thinks that listening to classical music

A researcher thinks that listening to classical music reduces anxiety. She measures the anxiety of 10 persons then plays Mozart's "Eine Kleine Nachtmusik". Following that the researcher measures their anxiety again. (Not ...

Restaurant management database project the restaurant

Restaurant Management Database Project : The restaurant maintains the catalog for the list of food and beverage items that it provides. Apart from providing food facility at their own premises, the restaurant takes order ...

Query to reterieve data from a customers table in mysql for

Query to reterieve data from a customers table in MySQL for instance who have not placed any orders yet, How to sort results by customers number,How to Modify the query to list customers who have placed fewer than five o ...

Question wireless transmission please respond to the

Question: Wireless Transmission" Please respond to the following: • Organizations need to be careful about their wireless transmissions and controlling the reception of the wireless signal. Discuss ways that organization ...

Explain how financial leverage at investment banks differed

Explain how financial leverage at investment banks differed from financial leverage at more traditional commercial banks. What is the benefits of this leverage? What are the primary risks associated with financial levera ...

How does having an understanding of spreadsheet software

How does having an understanding of spreadsheet software help you succeed in your personal or professional life?

What is the broadcast domain and ports for hubs and

What is the Broadcast Domain and Ports for hubs and bridges?

Listen to or read the transcript of this podcast

Listen to (or read the transcript of) this podcast (https://www.stlouisfed.org/education/economic-lowdown-podcast-series/episode-16-elasticity-of-demand) from the Federal Reserve Bank of St. Louis. Describe your experien ...

Questionthe stable matching problem as discussed in the

Question The Stable Matching Problem, as discussed in the text, assumes that all men and women have a fully ordered list of preferences. In this problem we will consider a version of the problem in which men and women ca ...

Please help me find out how to calculate stock pricewhat is

Please help me find out how to calculate stock price. "What is the price of Company A's stock.We know company A pay dividend twice a year. And its beta=1.5 Government bond's Coupon is 8.8 and Yield is 5%(which one you sh ...

  • 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