anisotropic filter

各项异性

point一次sample 1

bilinear 一次sample 4

trilinear 一次sample 8   两个4按mipmaplevel混合

anisotropic 

异性和同性 指得是 u和v的方向 是否按照同样缩放比例对待

以同样mimaplevel对待 就是各向同性

以不同level处理就是各向异性

处理的状况就是uv不是等比缩放的情况 很简单的一个例子就是 楼梯正对你的时候 和你的视线垂直的那个面 

如果用各向同性mipmap它会用很高的mipmaplevel 但是实际上 这种情况应该只应用于 这个表面 沿着你视线方向的那个轴比如u  而另外一个轴v 的level应该基本不变 

在一个uv比很大的地方 如果是各向同性 就会采样两者种high mipmaplevel来反走样 这样 在那个需要低mipmaplevel方向就会过于blur

所以AF 维持了由于mipmap anti alias 带走的sharpness

所以对于anisotropic filter 1x 4x 16x

它的sampler counts

小于 8 32 128

1x下应该就是个trilinear

4x的意思是能处理的最大uv比是4 在比例低于4的地方按照更低的2x 1x进行sample

https://en.wikipedia.org/wiki/Anisotropic_filtering

http://resources.mpi-inf.mpg.de/departments/d4/teaching/ws200708/cg/slides/CG09-Textures+Filtering.pdf#page=20

http://www.florian-oeser.de/wordpress/wp-content/2012/10/crow-1984.pdf

https://web.archive.org/web/20170214175524/http://www.cs.unc.edu/~olano/papers/vbat/vbat.pdf

http://graphics.stanford.edu/papers/texture_prefetch/

==================================================

与本文无关的好东西

http://resources.mpi-inf.mpg.de/departments/d4/teaching/ws200708/cg/slides/CG26-Outlook.pdf

 ==========

mali anisotropic filter

2x bilinear anisotropic filter  是 2倍bilinear clocks---8sample

trilinear filter 也是两倍 bilinear 开销

4x bilinear anisotropic filter 4xbinlinear   ====我推这样应该是16sample 这比我上文推的少 不知道是哪里的问题

哦 我明白了 上文的是2x trilinear anisotropic filter

没毛病了

原文地址:https://www.cnblogs.com/minggoddess/p/10473878.html