








































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































Recursive Ray Tracer2:
Texture Mapping and Data Structures
With Supersampling Without Supersampling
point on a unit square
unit square
𝑤𝑡𝑒𝑥𝑡𝑢𝑟𝑒, ℎ𝑡𝑒𝑥𝑡𝑢𝑟𝑒
(0, 0) texture map
parts:
we go up from the base to the tip
P (^) x
𝑢 =.
z
P
𝑣
𝑢
P x
y
z
𝑣 =.
𝜃 2𝜋 , and use the dot product to find 𝜃, but it’s hard to determine the signs (e.g. acos returns a value between 0 and 𝜋, same for atan)
𝜋 2
P (^) x
𝑢 =.
z
P
Texture Mapping Complex Geometry
an object doesn’t get what you are looking for
Original Geometry (^) Texture each face separately (notice discontinuities)
Texture the object as a continuous object