2007/2008 Graphics Tutorial 6

Problem 1 The scene below consists of 8 line segments, and the center of projection COP (i.e., the camera view point). The normal vectors of the segments point to the visible side. The dotted lines are not part of the input, but indicate where the supporting lines of the segments intersect the other segments.

D

A

B

F

E

H

COP

C

G

1. Explain how a BSP tree for a set of segments (or polygons in 3D) is constructed. 2. Give a BSP tree for the situation in the image. 3. Explain how the projection order for a set of segments (polygons) is determined using a BSP tree. 4. Give the projection order for the situation in the image, using the tree you constructed in subproblem 2. 5. Explain what back face elimination is, and indicate how the application thereof influences your answer to the previous subproblem. 1

Problem 2 In the lecture on triangle rasterization we discussed an algorithm for rasterizing (general) polygons. The algorithm exploits scan-line coherence to improve efficiency. What is scan-line coherence, and how is it exploited by the scan-line conversion algorithm?

Problem 3 The scan-line conversion algorithm uses two data structures: the Edge Table and the Active Edge Table. Suppose that we are rasterizing a polygon that has an edge from pixel (2, 10) to (5, 4).

1. What information of the edge (i.e., what numbers, and what do they represent) is stored in the Edge Table? 2. In what entry of the edge table is the edge stored? 3. What does the entry of the edge in the Active Edge Table look like when scan-line y = 8 is rasterized?

Problem 4 Explain how Gouraud shading, Phong shading and z-buffering can be incorporated in the scan-line conversion algorithm.

Problem 5 When we do z-buffering with scan-line conversion, we have to specify the z-coordinates of the vertices of the polygon. Should we use the z-coordinates of the polygon in world coordinates (i.e., as given in the 3D model), or the transformed z-coordinates in the canonical view volume, or doesn’t it matter? Explain your answer.

Problem 6 Suppose we have a model with only diffusely reflecting objects. Could there be any advantage in choosing Phong interpolation over Gouraud interpolation?

2

2007/2008 Graphics Tutorial 6

2007/2008 Graphics Tutorial 6. Problem 1 The scene below consists of 8 line segments, and the center of projection COP (i.e., the camera view point). The normal vectors of the segments point to the visible side. The dotted lines are not part of the input, but indicate where the supporting lines of the segments intersect.

57KB Sizes 0 Downloads 184 Views

Recommend Documents

2007/2008 Graphics Tutorial 8
Problem 1 Our texbook gives a function stripe that generates a stripe texture (see also the lecture notes on texture mapping). Adapt this function to generate a tile texture, giving square tiles any plane that is orthogonal to the X-, Y -, or Z-axis.

2007/2008 Graphics Tutorial 9
Problem 2 We are clipping the polygon above again, but this time with the Weiler-Atherton algorithm. (a) Explain how the graph used by this algorithm is constructed. (b) Give the graph for the polygon and clipping region in the image above. (c) Expla

2007/2008 Graphics Tutorial 5
Problem 1 Our model has an object centered at the point (7, 16, 18). Instead of looking at it from the origin, we want to look at it from behind and above, so we place the origin of our camera at. (10, 20, 30). What is the gaze vector we should speci

atmel studio 6 tutorial pdf
Page 1. Whoops! There was a problem loading more pages. atmel studio 6 tutorial pdf. atmel studio 6 tutorial pdf. Open. Extract. Open with. Sign In. Main menu.

FeynRules Tutorial
We will call mass eigenstates Φ1 and Φ2, and their masses M1 and M2, ... (3) where u and e are the SM up-quark and electron fields. Note that there is a Z2 symmetry ..... The kinetic terms for the fermions can be implemented in a similar way.

LaTeX Tutorial
To have formulas appear in their own paragraph, use matching $$'s to surround them. For example,. $$. \frac{x^n-1}{x-1} = \sum_{k=0}^{n-1}x^k. $$ becomes xn − 1 x − 1. = n−1. ∑ k=0 xk. Practice: Create your own document with both kinds of for

FeynRules Tutorial
The model we are considering depends on 9 new parameters, .... approach, and we start by opening a new notebook and load the FeynRules package (see the ...

ENVI Tutorial
Navigate to the Data\can_tm directory, select the file can_tmr.img from the list, and click. Open. .... From the ROI Tool dialog menu bar, select File > Restore ROIs.

R Graphics Output - GitHub
1.0. 1.5. −1.0. −0.5. 0.0. 0.5. 1.0. Significant features for level k3 versus other relative covariance(feature,t1) correlation(feature. ,t1) k3 other. M201.8017T217. M201.8017T476. M205.8387T251. M205.8398T264. M207.9308T206. M207.9308T311. M212

pdf-1410\design-graphics-1-with-computer-graphics ...
pdf-1410\design-graphics-1-with-computer-graphics-by-james-h-earle.pdf. pdf-1410\design-graphics-1-with-computer-graphics-by-james-h-earle.pdf. Open.

COMPUTER GRAPHICS Set No:
Information Technology, Computer Science and Systems Engineering ) · Time: 3 hours · Max.Marks:80 ... Outline the z-buffer algorithm. List the advantages and ...

graphics design.pdf
Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. graphics design.pdf. graphics design.pdf.

R Graphics Output - GitHub
Page 1. 0.00. 0.25. 0.50. 0.75. 1.00. Den−Dist−Pop. Index. Density−Distance−Population Index. By County, Compared to Median.

computer graphics -
Sutherland – Hodgeman Polygon clipping Algorithm. 7. Three dimensional transformations - Translation, Rotation, Scaling. 8. Composite 3D transformations. 9.

R Graphics Output - GitHub
Why did I color them blue and red? Petal.Width. P etal.Length ... This blue sliver is the covariance. ...... is the ratio of the small rectangle to the big rectangle.

6. Principles of structural acoustic control, tutorial 1.pdf
and complicated: most structures have one or two dimen- sions that are very small with respect to internal wave- lengths. We call these structures plates and ...

Content-Preserving Graphics - GitHub
audience possible and offers a democratic and deliberative style of data analysis. Despite the current ... purpose the content of an existing analytical graphic because sharing the graphic is currently not equivalent to ... These techniques empower a

R Graphics Output - GitHub
0.3. 0.4. 0.5. R2Y. Q2Y. −0.15. −0.05 0.00. 0.05. 0.10. 0.15. −0.1. 0.0. 0.1. 0.2. Loadings p1 (22%). pOrtho1 (22%). M201.8017T217. M239.0705T263. M241.0881T263. M212.1367T256. M212.0743T273. M207.9308T206. M235.0975T362. M236.1009T363. M221.08

R Graphics Output - GitHub
0.5. 1.0. Features for level high versus low relative covariance(feature,t1) correlation(feature. ,t1) high low. M201.8017T217. M201.8017T476. M203.7987T252. M203.7988T212. M205.8387T276. M205.8398T264. M205.839T273. M207.9308T206. M207.9308T302. M21

R Graphics Output - GitHub
1816 − Monroe. 1820 − Monroe. 1824 − Adams. 1828 − Jackson. 1832 − Jackson. 1836 − V an Buren. 1840 − Harrison. 1844 − P olk. 1848 − T a ylor. 1852 − ...

TUTORIAL DOODLE.pdf
Page 3 of 9. TUTORIAL DOODLE.pdf. TUTORIAL DOODLE.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying TUTORIAL DOODLE.pdf. Page 1 of 9.

Tutorial MindMeister.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

Tutorial Chemsketch.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Tutorial Chemsketch.pdf. Tutorial Chemsketch.pdf. Open. Extract.