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

  Write a program that defines and tests a factorial function

Write a program that defines and tests a factorial function. The factorial of a number is the product of all whole numbers from 1 to N. For example, the factorial of 5 is 1*2*3*4*5=120, Help?

  Application patch management

Application Patch Management Select three applications (not operating systems) that you frequently use. How does each of them address patch management? Visit their Web sites to determine facilities they have to alert users to new vulnerabilities

  Physical security

As you've learned, physical security doesn't just mean securing systems. It also involves securing the premises, any boundaries, workstations, and other areas of a company. Without physical security, data could be tampered with or stolen, and value i..

  Calculate the minimal sum logic for each output

How would I do this problem? When it says 4-bit two's complement numbers, what does it mean?

  Machine that has a single register and six instructions

Machine that has a single register and six instructions

  Determine the funds received and use the text to column

In this project, you will be assigned the task to record money received for a school fundraiser and create an Excel spreadsheet to record your receipts. You will determine the funds received and use the text to column feature

  Database distribution strategy/simple database application

For this assignment, you will design and develop a distributed database infrastructure for an organization of your choice. You may use the database you created in another unit or you may choose to create a new database to work with for this assign..

  Sensory system presentation

Sensory System Presentation

  Write java code for your hello/loop

Write java code for your hello/loop

  Simple math quiz that asks a user

Construct a simple math quiz that asks a user to answer a math problem of your choice. On the form, place one text box (txtAnswer) and two command buttons (cmdAskQuestion and cmdVerifyAnswer).

  Client health-care facilities-information-gathering process

shoulde patients in client health-care facilities participate in the information-gathering process? if so,why , and in what ways should they participate?

  Explaining constraint programming

It is about constraint programming. We have party organizations for being social. Every participant has their own preference list for parties, every party organizers has their own preference list for giving parties, too.

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