Write a basic 3d model viewer

Assignment Help Basic Computer Science
Reference no: EM13851125

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

Reference no: EM13851125

Questions Cloud

Validating the operation of the dhcp server : Screenshots from your client device validating the operation of the DHCP server
Possible federal income tax effects of these transactions : What are the possible Federal income tax effects of these transactions - Comment on the availability of head-of-household filing in each of the following independent situations
Develop in accordance with the sdlc : A description of the current information systems that the company has to support the business. The description should include an overview of the following:
Conduct research on an artist from any movement : Conduct research on an artist from any movement. Choose one of their works. Analyze the image using the four visual cues: color, form, depth, and movement. Explain how the artist makes use of these four cues.
Write a basic 3d model viewer : 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 cod..
Discuss and critique the two main planning methodologies : Discuss and critique the two main planning methodologies (Population and Institutional) that can be used in developing a health services plan.
Edward recognize income as a result of janets improvements : Discuss the probable justification for each of the following aspects of the tax law - Has the law in part (a) always been the rule and what is the justification, if any, for the current rule?
Report on the company including ratio analysis : You will run the Excel template and submit a 2-page report on the company that will cover the following: An overview of the company. Ratio analysis (Value Indicators worksheet). Valuation (both P/E and FCF worksheets)
Is the cyber criminal logistically and practically immune : It is not practical to consider extradition for such crimes. Given this dilemma, how do you see the enforcement and prosecution of cyber criminals being resolved in the future? Is the cyber criminal logistically and practically immune from prosecu..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The outline pane shares its portion of the screen with the

The outline pane shares its portion of the screen with the _____ pane

  Write a script that includes these statements coded

Write a script that includes these statements coded as a transaction. Why is it necessary to put the statements in 1A as a transaction

  Draw an e- r data model

Draw an E- R data model for the Garden Glory database schema shown in Chapter 3' s " Garden Glory Project Questions." Use the IE Crow's Foot E- R model for your E- R diagrams. Justify the decisions you make regarding minimum and maximum ­cardinali..

  Assess the ease of use and efficiency of using both the

evaluate the ease of use and efficiency of using both windows and unix file management systems. of the two file

  Calculate performance of cache and the average cpi

Assume the instruction cache miss rate is 0.5% and the data cache miss rate is 1%. Calculate the performance of the cache (CPU execution time) and the average CPI.

  Information systems along with internet security necessary

Are Information systems along with Internet security necessary

  Create a new android application project

Create a new Android Application Project. The main screen should state the name of the person who owns the phone.

  Show that every n node binary search tree is not equally lik

Show that every n-node binary search tree is not equally likely (assuming items are inserted in random order), and that balanced trees are more probable than straight-line trees.

  Identify possible areas in which research can be extended

What is the main research problem addressed in the article? Summarize the research questions in a few sentences.

  What is not considered a cloud application

One day you decide to turn in a resource paper that you found on the Internet. What is not considered a Cloud application

  Professional interactive media developers

DIGIMAX Multimedia is a multimedia content development company would like to release various educational CD/DVD in the market. In this regards, the company wants to approach professional interactive media developers

  What is technology s-curve

What is technology S-curve? Give an example that explains how to use S-curves to prescribe development of new component technologies.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd