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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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