Bilineair - Trilineair

Started by
2 comments, last by MonkeyInBlack 20 years, 1 month ago
Can anyone explain what is meant by bilinair / trilineair filtering ? What does it do exactly and what are the differences between the two ?
Advertisement
Ok, bilinear and trilinear filtering are both texture filtering types that are built to smooth the texels in a texture, taking away the jaggies on the texture''s surface, go play any playstation game, youll immediately see the big fat pixels that are in the texture, bilinear filtering makes it so that the edges are blurred, sampling from more than just that texel in order to calculate the color of that screen pixel (probably didnt make much sense, but if youve seen point vs bilinear filtering it would make sense) and anyways, trilinear is just a step farther, and is considered very good, since the sample area is not square
When General Patton died after World War 2 he went to the gates of Heaven to talk to St. Peter. The first thing he asked is if there were any Marines in heaven. St. Peter told him no, Marines are too rowdy for heaven. He then asked why Patton wanted to know. Patton told him he was sick of the Marines overshadowing the Army because they did more with less and were all hard-core sons of bitches. St. Peter reassured him there were no Marines so Patton went into Heaven. As he was checking out his new home he rounded a corner and saw someone in Marine Dress Blues. He ran back to St. Peter and yelled "You lied to me! There are Marines in heaven!" St. Peter said "Who him? That's just God. He wishes he were a Marine."
More to the point, bilinear filtering is a way of antialiasing textures, so they blur together when magnified instead of showing sharp jagged texels. It''s called bilinear because it does it both in u and v directions.

Trilinear is a method of using bilinear on several mip levels, then blending those together. It helps a smooth transition between mip levels.

Anisotropic filtering is a way of compensating for steep view angles of textures. It takes a bunch of samples in the view direction of the texture and blends them. This is good because even for bilinear filtering, steep textures (where one axis has many texels per pixel) you can get aliasing. It''s like a bilinear with view angle compensation.

I like pie.
[sub]My spoon is too big.[/sub]
Thank you guys for the great explanations!

This topic is closed to new replies.

Advertisement