Question 1. In texture mapping applications, what are texture magnification and texture minification? What method could be used to make the anti-aliased effects of the texture mapping?
Texture magnification: a pixel in texture image (texel) maps to an area larger than one pixel in image.
Texture minification: a pixel in texture image (texel) maps to an area smaller than a pixel in image.
Texture interpolation and mipmap make the anti-aliased effect.
Question 2. Provide a texture map image with size (21, 21), assume the UV coordinate values of (0.1, 0.3), (0.3, 0.3) and (0.1, 0.6) are mapped to the three vertices A (2,4), B(6, 4), C (2, 8) of a triangle, calculate the texture coordinate of corresponding point on the texture map for vertex D (3, 6).
Question 3. What is bump mapping and write down the steps to use the bump mapping technique.
Bump mapping is for simulating bumps and wrinkles on the surface of an object. This is achieved by perturbing the surface normals of the object and using the perturbed normal during lighting calculations.
steps:
•Look up the height in the heightmap that corresponds to the position on the surface.
• Calculate the surface normal of the heightmap, typically using the finite difference method.
Combine the surface normal from step two with the true ("geometric") surface normal so that the combined normal points in a new direction.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of