FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Guides : Articles : FS 3D Guide: Filtering and Lighting
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 


Random Gallery >> 
Click to view high-res Image!
Playstation 3 Impressions Gallery [16] (4)

Funniest thing to do with the OCZ name (3) by SuperCharge
Apple of your eye... (0) by SuperCharge
An EVGA Collage (0) by Samuel71
War! Huh! Yeah! (aka Blatant Plagiarism) (1) by ICDP
Bioshock: The Brutally Honest Review [Preliminary #2] (8) by Swatt
First Entry (0) by Skippy989
A Truely "Epic" Game: Unreal Tournament 3 Review (4) by Discobiscuits
Know Your Roots: Unreal Tournament Review [Preliminary #2] (8) by Discobiscuits
OverClocking Boot Camp (3) by Odoyle721
The Orange Box Review in 500 Words! [Preliminary #2] (7) by Swatt

More Blogs >>




FS 3D Guide: Filtering and Lighting
June 08, 1999   James Yu > [View My Other Articles]
Tim Hsu > [View My Other Articles]
Product Info | User Reviews | Article Images(18) | Image Gallery | Comments | Forum Thread
Texture Filtering

Now that you know the basics of color depth, textures, alpha blending and dithering from reading our Video Basics guide, let's dig a little deeper into the world of 3D gaming. What the heck is MIP mapping? LOD? Why is everyone filtering, and what's the difference between Bilinear, Trilinear, and Anisotrophic filtering anyway? Anti-Aliasing? We'll answer all these questions and even throw in a bonus guide on lighting and shading.

Texture Filtering

Dealing with textures is tough. They may seem pretty simple when you're just staring at a 128 x 128 mipmap, but they tend to get difficult once you apply them to polygons in a 3D environment. There, the polygons are no longer the easy-to-calculate square mipmaps. More often than not, you end up with a screenful of irregular triangles, and these triangles aren't easy to texture.

What happens when a 3D calculation gives a textel an impossible location, where the x and/or y coordinate isn't an integer? You can't just place the textel in its calculated position; you can only plot whole points.

Point Sampling

You're going to have to plot the texel at the nearest whole point. This is called point sampling. With point sampling, the texel whose coordinates are nearest to the center of the calculated pixel is the one chosen. Then, the texture is mapped to pixels with similar properties. However, this leads to pixelization, where an out of place pixel stands out. Without any special filtering, a diagonal edge between two textures will probably appear jagged because the pixels along the edge won't be at their mathematically correct positions.

Pixels will be slightly out of place, yet they'll still retain their original coloring. If the picture isn't supposed to have that color at that exact pixel, it's going to be even more noticeable. Additionally, there is a "shimmery" look when using point-sampling, because only a single texel is sampled. This is very apparent when the images are animated. The later screenshots taken from 3DMark 99 illustrate the shimmery aspect of distant textures when using point sampling.

FS 3D Guide: Filtering and Lighting [ Point sampled filtering @ 640 x 480 ] > View Full-Size in another window.
Point sampled filtering

    More filtering Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
I am an AMD AgentRead this Media-Blog entry!» Banana (4)
by p4l1ndr0m3 (309) Talk with this user on their Shout Box (My other blogs) Posted 3 months ago


 Hottest Topics
Blizzard statement on StarCraft II LAN (17)
StarCraft II lacks LAN support (13)
Wolfenstein system requirements released (11)
Street Fighter IV PC hits Steam (9)
Xbox 360/PS3 price cuts coming? (8)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Random Fact
Want to read about Glide 2.2?

FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2009 FS Media, Inc. All Rights Reserved