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 specify so that the object is centered in the image?

Problem 2 For our camera in the previous problem, we specify an view-up vector of (0, 1, 0). We are going to do projection in the way it is explained in Chapter 6 of the textbook. Explain how we compute the matrix that does the viewing tranform (called Mv ). If you want to compute the actual numbers, beware that they are not really nice (they contain fractions and square roots), so calculating may take some while. However, it is instructional to do such calculations at least once.

Problem 3 Our camera hasn’t been completely specified yet. Amongst other things, we need to set the near and far plane distances. Let’s set them at -1 and -100, respectively (recall that we view along the negative w-axis. What is the matrix that does the perspective transformation, given these values? (Note that in this case, the numbers are much nicer.)

Problem 4 The final matrix that we need to construct is Mo , the one that takes care of the orthographic projection. Let’s specify an image of width times height is 1024 × 768, and left, right, top and bottom plane parameters of -4, 4, -3, and 4, respectively. Determine Mo , given these parameters.

Problem 5 If you dare, compute the full matrix M = Mo Mp Mv . Onto which pixel is the point (7, 16, 18) projected? Recall that we wanted it to be centered in the image.

1

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 specify so that the object is centered in the image? Problem 2 For our camera in the ...

55KB Sizes 0 Downloads 183 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 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 i

tutorial 5
Naïve Bayes Classifier. TUTORIAL 5. 1. Page 2. A.Calculating Probabilities. B. Laplace Estimator. C. C. Creating ... probabilities for playing and not playing. 8 ...

Game Graphics Programming - Cap 5 Programmable Shaders.pdf ...
Game Graphics Programming - Cap 5 Programmable Shaders.pdf. Game Graphics Programming - Cap 5 Programmable Shaders.pdf. Open. Extract. Open with.

vmware vsphere 5 tutorial pdf
Loading… Page 1. Whoops! There was a problem loading more pages. vmware vsphere 5 tutorial pdf. vmware vsphere 5 tutorial pdf. Open. Extract. Open with.

5. PHP bangla tutorial php basic.pdf
... below to open or edit this item. 5. PHP bangla tutorial php basic.pdf. 5. PHP bangla tutorial php basic.pdf. Open. Extract. Open with. Sign In. Main menu.

man-11\hp-loadrunner-11-5-tutorial-pdf.pdf
man-11\hp-loadrunner-11-5-tutorial-pdf.pdf. man-11\hp-loadrunner-11-5-tutorial-pdf.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.

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