Define a set of point and line commands

Assignment Help Basic Computer Science
Reference no: EM131740199

Question: 3D viewer Write a simple viewer for 3D points, lines, and polygons. Import a set of point and line commands (primitives) as well as a viewing transform. Interactively modify the object or camera transform. This viewer can be an extension of the one you created in (Exercise). Simply replace the viewing transformations with their 3D equivalents. (Optional) Add a z-buffer to do hidden surface removal for polygons. (Optional) Use a 3D drawing package and just write the viewer control.

Exercise: 2D transform editor Write a program that lets you interactively create a set of rectangles and then modify their "pose" (2D transform). You should implement the following steps:

1. Open an empty window ("canvas").

2. Shift drag (rubber-band) to create a new rectangle.

3. Select the deformation mode (motion model): translation, rigid, similarity, affine, or perspective.

4. Drag any corner of the outline to change its transformation. This exercise should be built on a set of pixel coordinate and transformation classes, either implemented by yourself or from a software library. Persistence of the created representation (save and load) should also be supported (for each rectangle, save its transformation).

Reference no: EM131740199

Questions Cloud

Create a new rectangle using shift-drag : 2D transform editor Write a program that lets you interactively create a set of rectangles and then modify their "pose" (2D transform).
Discuss the economic effects of monopoly : Discuss the economic effects of monopoly. Be sure to include the following:
Create a spreadsheet that lists income and expenses : create a spreadsheet that lists income and expenses. Explains the major components of each category
How to minimize the challenges : What are the challenges with the distributed computing and how to minimize the challenges?
Define a set of point and line commands : 3D viewer Write a simple viewer for 3D points, lines, and polygons. Import a set of point and line commands (primitives) as well as a viewing transform.
Computing and communications to large segments : Identify two technologies that are designed to improve computing and communications to large segments of the world's population.
What are the pros of providing meal service : What are the pros of providing meal service at a child development center? What benefits might meal service bring to children, their families.
How us monetary policy could influence long-run behavior : Analyze how U.S. monetary policy could influence the long-run behavior of price levels, inflation rates, costs, and other real or nominal variables
Protect a network in either your personal or professional : Describe the steps you've taken to protect a network in either your personal or professional life.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  First name, last name, phone number

First Name, Last Name, Phone Number, email address (add additional elements as desired)  2. Include a search criteria based on last name or any of the elements created for your phone book entries in order to retrieve the information requested.

  Determine the frequency of failure

Determine the frequency of failure from 1 to 20 bends. If the paperclip lasts more than 20 bends, note their frequency in the "20+ bends" row, and mention the frequency of this result in your paper.

  What feature in windows vista provides a permission dialog

What feature in Windows Vista provides a permission dialog for Standard Users to enter administrator credentials to accomplish various tasks reserved for the latter group

  Determine the net income of a comparable

Determine the net income of a "comparable" firm based on the following information: value of target firm = $4,000,000; net income of target firm = $200,000; stock price of "comparable" firm = $30.00; and 300,000 shares of stock outstanding for th..

  What is number of bits per baud for the given techniques

What is the number of bits per baud for the following techniques? ASK with four different amplitudes and FSK with 8 different frequencies

  Analyze patterns in network traffic spanning multiple packet

Snort requires the use of at least one preprocessor to be able to analyze patterns in network traffic spanning multiple packets.

  Data communication technologies of guided media

Compare and contrast the data communication technologies of guided media and unguided media. This should include transmission media, data link control protocols, and multiplexing.

  Supreme court issues around legal decisions

Each year, the U.S. Supreme Court issues around 100 legal decisions, most of which are controversial. Despite their controversial nature

  When would you use a deque in preference to a vector

Describe what happens when you try to insert an element in a vector whose memory is exhausted.

  Potential costs of adopting a free trade regime

What are the potential costs of adopting a free trade regime? What do you think governments should do to reduce these costs? Please discuss the cultural motives for restricting free trade, and explain why import quotas help trade restriction.

  Manual park button and the application accurately

As an application tester, I want to press the manual park button and the application accurately records the location of the intended vehicle. The ratio of successes to failures will be recorded to report to the development team.

  Discuss some of the key considerations in designing network

What approaches have worked for you in your present role or would you propose in a future systems planning role for an organization?

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