Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 10-May-2002, 06:30   #1
Reverend
Naughty Boy!
 
Join Date: Jan 2002
Posts: 3,266
Default Anisotropic filtering weirdness

In case some of you missed our VisionTek GF4 Ti4400 review recently published, do read it now. The reason for this particular post is on Page 6, specifically the part about the missing pixels in the fence when anisotropic filtering is applied.

Anyone have an explanation for this?
__________________
Reverend
Dev Anon : Best game ever? Hmm... you mean other than anything from us? (2005)
Reverend is offline   Reply With Quote
Old 10-May-2002, 09:00   #2
gking
Member
 
Join Date: Feb 2002
Posts: 130
Default

My guess is that the fence is being alpha tested and the reference value is set too high.

The fence is definitely being alpha tested, and missing pixel artifacts would will occur if the reference alpha value was set to greater than .03 (1 / num_texel_samples, assuming that the alpha for all pixels that should be drawn in the texture is 1.0). The higher the ref value, the more pixels are lost.
gking is offline   Reply With Quote
Old 10-May-2002, 11:58   #3
Sharkfood
Member
 
Join Date: Feb 2002
Location: Bay Area, California
Posts: 702
Default

Hmmm.. interesting how it only occurs when anisotropic filtering is enabled though...

I wonder if a more aggressive z-compression ("lossless" becomes "lossful") is used in those particular drivers to help improve anisotropic filtering performance?

Is this the case with the original/slow anisotropic filtering drivers?
Sharkfood is offline   Reply With Quote
Old 10-May-2002, 13:09   #4
Dave B(TotalVR)
Member
 
Join Date: Feb 2002
Location: Essex, UK (not far from IMGTEC:)
Posts: 491
Send a message via ICQ to Dave B(TotalVR)
Default

Huh, how can fuddling with the z-buffer help aniso performance?

Ok you mightsavesome bandwidth overall, but that will help *all* performance, surely.
Dave B(TotalVR) is offline   Reply With Quote
Old 10-May-2002, 13:23   #5
Sharkfood
Member
 
Join Date: Feb 2002
Location: Bay Area, California
Posts: 702
Default

That's the whole point.

Do *something* to offer a boost in performance, and if it has adverse effects, limit it's usage for when anisotropic filtering is enabled. That is clearly what these screenshots display...

Anisotropic filtering on the GF4 was originally hammered for it's poor performance, from which it has improved a tad since then in most recent drivers.
Sharkfood is offline   Reply With Quote
Old 10-May-2002, 13:28   #6
Dave B(TotalVR)
Member
 
Join Date: Feb 2002
Location: Essex, UK (not far from IMGTEC:)
Posts: 491
Send a message via ICQ to Dave B(TotalVR)
Default

People should stop moaning about low aniso performance and start realising just how much more of a complex operation that it is over a normal trilinear op.
Dave B(TotalVR) is offline   Reply With Quote
Old 10-May-2002, 15:52   #7
pcchen
Moderator
 
Join Date: Feb 2002
Location: Taiwan
Posts: 2,348
Default

I agree with gking's theory. On the other hand, if Z compression becomes lossy when anisotropic filtering is enabled, and it produces such significant differences, we shall see much more problems everywhere. Therefore, I doubt that a lossy Z compression is responsible for this.
pcchen is offline   Reply With Quote
Old 10-May-2002, 18:22   #8
gking
Member
 
Join Date: Feb 2002
Posts: 130
Default

Quote:
Hmmm.. interesting how it only occurs when anisotropic filtering is enabled though...
Nope -- my theory predicts that behavior.

Only 4 texel samples are taken when you bilinear filter a texture, so given the same set of assumptions I make above (all texels have an alpha of 1 if the fence exists, 0 if it doesn't), the reference value would have to be set >= .25 (1/num_texel_samples) for the rasterizer to discard the pixel. Since anisotropic filtering increases the number of texels sampled, the reference value would have to decrease if you want to ensure that every pixel that has some of the fence in it is drawn.

Quote:
I wonder if a more aggressive z-compression ("lossless" becomes "lossful") is used in those particular drivers to help improve anisotropic filtering performance?
First, that's not the case at all.

Second, if it were, the Z compression would become so bad as to confuse pixels in the Skybox (which probably wasn't written to the Zbuffer, anyway) with pixels in the foreground! There's absolutely no way that *anything* would be rendered properly on the GeForce4 if the Z compression were that poor.
gking is offline   Reply With Quote
Old 10-May-2002, 18:50   #9
Humus
Crazy coder
 
Join Date: Feb 2002
Location: Stockholm, Sweden
Posts: 3,216
Send a message via ICQ to Humus Send a message via MSN to Humus
Default

gking's theory is correct. Something that would further supports this theory is that if you look closer on the pictures you'll see that the effect gets worse the steeper the viewing angle is, that is, when more samples are taken.
__________________
[ Visit my site ]
I speak for myself and only myself.
Humus is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anisotropic Filtering and LOD Bias Luminescent 3D Architectures & Chips 73 23-Nov-2004 12:42
Chat Transcript: ATI's texture filtering algorithms cho 3D Architectures & Chips 89 23-May-2004 05:06
Anisotropic Filtering Test Application Dave Baumann Beyond3D News 16 23-Nov-2002 15:43
ATI Responds to Anisotropic Filtering Flap marco Beyond3D News 16 05-Jul-2002 12:15
nVIDIA Anisotropic Filtering Performance Boost Dave Baumann Beyond3D News 6 30-Jun-2002 23:52


All times are GMT +1. The time now is 19:43.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.