3d texture-mapped viewer extend the viewer you created in


Question: 3D texture-mapped viewer Extend the viewer you created in Exercise II to include texture-mapped polygon rendering. Augment each polygon with (u, v, w) coordinates into an image.

Exercise II: 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 2.2). 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 I: 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).

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: 3d texture-mapped viewer extend the viewer you created in
Reference No:- TGS02535740

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)