Lecture 5: Texture (74)
laurenz06

The past couple slides have given us a lot of examples of different types of filtering. What are the advantages and disadvantages of each? And which ones are better applied to which situations?

KevinXu02

I think anisotropic filtering is always better than mipmap. The only disadvantage of it might be it use more memory to store the textures, but it would not be a problem for modern pc. And from my experience in playing video games, anisotropic x16 is always the best option.

keeratsingh2002

how does the algorithm determine the degree of anisotropy to apply on different textures in a game environment? Is there a dynamic adjustment based on the camera angle and the distance of the texture from the viewer

pranavkolluri

I believe that you're correct, game engines do dynamic changes to the texture being used based on camera angle. The options on PC games (2x, ..., 16x) I believe refers to the degree of anisotropy (in my head I think of that as just angle) that the texture can be filtered for (by extension increasing memory usage since more tilted textures have to be generated to cover the increased angle). I'm very curious how these textures are seemingly generated on the fly so quickly, presumably there's some sort of instruction that does this?

pranavkolluri

oh ok from wikipedia: "This degree refers to the maximum ratio of anisotropy supported by the filtering process. For example, 4:1 (pronounced “4-to-1”) anisotropic filtering will continue to sharpen more oblique textures beyond the range sharpened by 2:1.

In practice what this means is that in highly oblique texturing situations a 4:1 filter will be twice as sharp as a 2:1 filter (it will display frequencies double that of the 2:1 filter)."

Now that I read this, I'm a little more confused as to exactly what the degree of anisotrophy corresponds to if one were to view the texture when stored in GPU memory. Is it effectively how many filtered images are created squished horizontally and vertically (so for 2x, 4 filtered textures in total?)

You must be enrolled in the course to comment