Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 534 Homework #4 References. Cylindrical Projection Alpha Blending.

Similar presentations


Presentation on theme: "CS 534 Homework #4 References. Cylindrical Projection Alpha Blending."— Presentation transcript:

1 CS 534 Homework #4 References

2 Cylindrical Projection Alpha Blending

3 Cylindrical Projection Example

4 Cylindrical Projection unwrapped cylinder x y f x θ

5 z Cylindrical Projection unwrapped cylinder x y θ x y f

6 Cylindrical Projection unwrapped cylinder x y z x y f s defines size of the final image, often convenient to set s = f cylindrical image

7 Cylindrical Projection Y X

8 Inverse Cylindrical Projection X Y Z (X,Y,Z)(X,Y,Z) (sin ,h,cos  )

9 Encoding blend weights: I(x,y) = (  R,  G,  B,  ) color at p = Implement this in two steps: 1. accumulate: add up the (  premultiplied) RGB  values at each pixel 2. normalize: divide each pixel’s accumulated RGB by its  value Q: what if  = 0? Alpha Blending Optional: see Blinn (CGA, 1994) for details: http://ieeexplore.ieee.org/iel1/38/7531/00310740.pdf?isNumb er=7531&prod=JNL&arnumber=310740&arSt=83&ared=87&a rAuthor=Blinn%2C+J.Fhttp://ieeexplore.ieee.org/iel1/38/7531/00310740.pdf?isNumb er=7531&prod=JNL&arnumber=310740&arSt=83&ared=87&a rAuthor=Blinn%2C+J.F. I1I1 I2I2 I3I3 p


Download ppt "CS 534 Homework #4 References. Cylindrical Projection Alpha Blending."

Similar presentations


Ads by Google