Chat Transcript: ATI's texture filtering algorithms

Discussion in 'Architecture and Products' started by cho, May 20, 2004.

  1. suicuique

    Newcomer

    Joined:
    Mar 16, 2004
    Messages:
    30
    Likes Received:
    0
    Thanks for the link but i have studied Maths for 6 years in college, so i should be comfortable with polynoms :)

    And the "order" of the polynom is called after the highest NonZero coeffecient.
    If you would not do this that way, something like y = 3*x+5 could be called a polynom of second order, 5th order etc . Where to stop? :)

    Hence it makes perfect sense, to impose the constraint that a=!0 in the general formula y=a*x+b to call that function linear.

    Looking forward to your reply :)

    Edit Addendum:
    Linear functions (respective functionals) are called this way because they are linear in their argument, so f(x) is linear in x if and only if f(a*x)=a*f(x).
    I dont see this condition being served for the constant functions (=!0 ;).

    Note: That strict definition would not even allow offsets (read: affine Transformations), but as this would really become way too OT I will stop here. I still stand by my assertion, that constant functions are in now way considered "linear" in mathematics.

    regards, alex
     
  2. tahrikmili

    Newcomer

    Joined:
    Sep 16, 2003
    Messages:
    68
    Likes Received:
    0
    Location:
    Istanbul, Turkey
    One of the criteria for a function f(x) to be considered linear for each value of x1 where x1 is a real number lim x -> x1 f(x) must be defined. Piecewise functions do not always have a limit at the break point and therefore are not always linear. The way ATi seems to be handling this situation is very similar to the way step functions behave, before and after the step they behave like functions with a slope of 0 but as a function they are not considered linear because they do not have a limit at the break point. Otherwise, a function in the form of f(x)=ax+b with the a coefficient as 0 is by all means a linear function, but the function ATi appear to be using is not this.

    But whoever thinks ATi should have given the people present at the chat session a math class is expecting too much of a one hour chat session.

    Yalaz Ozkanli
     
  3. Evildeus

    Veteran

    Joined:
    May 24, 2002
    Messages:
    2,657
    Likes Received:
    2
    The first polynome is the polynome of zero order.
    Hence your constraint is false. And btw, the general formula ax+b is an affine function, which could be in particular situation linear (ax) ora constant function (b)

    If x=0 then f(ax)=af(x) iif b=0. But that is the general case and a necessity to have b=0. That's true for all x, even x=0.

    That's not true for affine functions or for constant with b !=0.
     
  4. christoph

    Newcomer

    Joined:
    Feb 6, 2002
    Messages:
    148
    Likes Received:
    4
    oops, my bad, i overlooked this one. but it doesnt really matter in this context because colored mips are used:
     
  5. Evildeus

    Veteran

    Joined:
    May 24, 2002
    Messages:
    2,657
    Likes Received:
    2
    I see why they pass the test :)
     
  6. Kombatant

    Regular

    Joined:
    May 29, 2003
    Messages:
    639
    Likes Received:
    19
    Location:
    Milton Keynes, UK
    As far as terminology is concerned you will have to excuse me; I was taught Mathematics in Greek so I wouldn't know how you guys call some stuff (although you do use many Greek words, which makes it much easier) :)

    To our main point: I do not want to question your knowledge in mathematics, but a function of f(x)=a always was, is and will be linear, simply because it can be written as f(x)=0*x + a. And here's proof. Yes I know the page is funny, but it does make a point :p Google it and you will reach the same conclusion :) When you have an f(x) = a*x + b, in order to call it linear, a, b must be real numbers (which includes zero).

    Look it up and let me know if you find something else :)
     
  7. suicuique

    Newcomer

    Joined:
    Mar 16, 2004
    Messages:
    30
    Likes Received:
    0
    ?
    Did i say otherwise?
    What i did say is that the "nonzero" constraint guarantees a unique and well defined categorization of polynomials.

    How is my constraint false?
    To call a polynomial first order, the highest nonzero coefficient has to be the one in front of x^1 (lets call it a_1).
    A Polynomial to be of n-th order, the highest nonzero coefficient has to be a_n. Agree?

    As for a*x+b, your right. The function is constant if a=0, it is linear if b=0, it is an affine function if a=!0.

    Sorry, but i suppose there is misunderstanding: the "a" in f(a*x)=a*f(x) is not he same "a" as in f(x)=a*x+b but a random real number.
    Sorry for the confusion.
    All i wanted to make clear is, that a "linear" function has to act linearly on its argument.


    regards, alex
     
  8. suicuique

    Newcomer

    Joined:
    Mar 16, 2004
    Messages:
    30
    Likes Received:
    0
    And i was taught it in german.

    Ok answer me this then:
    Is f(x) = a quadratic function?
    Since it can be written as f(x)=0*x^2+0*x+a and using your above deduction, i suppose it is ;)

    And is f(x)=a a cubic function?
    Same arguments apply, and we have shown that obviously f(x)=a is a cubic function.

    ...

    Do you see the problem uf a unique and well defined "syntax" of polynomials now?

    If you still contend, that f(x)=a is a "linear" function, lets agree to disagree, as i have reiterated my point often enough. No need to repeat ad infinitum.

    regards, alex
     
  9. Evildeus

    Veteran

    Joined:
    May 24, 2002
    Messages:
    2,657
    Likes Received:
    2
    Well to me it seems you did. It wasn't clear.

    Of course, but as your precedent point wasn't clear...

    Affine if a and b !=0


    Of course it's not the same.
    But f(dx)=df(x) iif b=0 in the function f(x)=ax+b. This is true for all a, even for a=0.
     
  10. suicuique

    Newcomer

    Joined:
    Mar 16, 2004
    Messages:
    30
    Likes Received:
    0
    You are of course right, i should not quickread this stuff (your x=0 somehow confused me).

    The "linearity requirement" of f(d*x)=d*f(x) is not satisfied with f(x)=b (a=0,b=!0).
    It is with f(x) =0 (a,b=0), i should have noted this exception.
    Mea culpa.

    regards, alex
     
  11. Evildeus

    Veteran

    Joined:
    May 24, 2002
    Messages:
    2,657
    Likes Received:
    2
  12. radar1200gs

    Regular

    Joined:
    Nov 30, 2002
    Messages:
    900
    Likes Received:
    0
    Oh really? Then try explaining why ATi reccomends reviewers disable Brilinear filtering on nVidia products when benchmarking but says not a word about their own trilinear optimizations.

    -----
    Lyme wrote: "no matter how many people tell me the quality of trylinear is great and wonderful, if it's not trilinear you can't call it that. It seems alot of people are trying to say 'it looks close, so who cares'. Well we went through that with nvidia last time and it didn't fly, why should it now?"
     
  13. SiliconAbyss

    Newcomer

    Joined:
    Mar 28, 2004
    Messages:
    75
    Likes Received:
    0
    Location:
    Canada
    Explain why nVidia has no trilinear optimizations.

    So are we now going to start demanding that all bandwidth saving techniqes be turned off?
     
  14. radar1200gs

    Regular

    Joined:
    Nov 30, 2002
    Messages:
    900
    Likes Received:
    0
    nVidia do have trilinear optimizations (brilinear filtering) and the user has the ability to decide if they want to use it or not (at least for NV40).

    With ATi you don't get a choice, which is as bad as nVidia forcing brilinear on all NV3x owners whether they wanted it or not.
     
  15. lyme

    Newcomer

    Joined:
    May 12, 2004
    Messages:
    16
    Likes Received:
    0
    Either all of them turned off, or allow both cards to have them on. Many sites went through the difficulty of turning off nvidia's tri optimizations in the belief that ati was doing none. Saying that it is fair to have ati having tri optimizations but not nvidia (or vice versa) is just wrong.
     
  16. MrGaribaldi

    Regular

    Joined:
    Nov 23, 2002
    Messages:
    611
    Likes Received:
    0
    Location:
    In transit
    Is it?

    Yes, I'm actually asking, and here's the reason why:

    With nvidia you would only get brilinear at any given time. It would not do trilinear filtering on colour mimaps or any other texture with mimaps not generated from a box-filer, whereas with ATI's trylinear you would.

    So the question becomes; what optimisations are equal and should be on during testing?

    Can you really say that trylinear and brilinear gives the same result and should both be on during testing, or is trylinear so close to trilinear that it's fairer to compare trylinear with trilinear?


    Also, what if you're interesetd in testing each cards trilinear?
    By using textures with coloured mipmaps on ATI hardware you get full-/legacy-trilinear and as such, wasn't it correct for ATI to tell reviewers to turn nvidia's brilinear off, so one could compare their respective trilinear filtering? Otherwise the difference in quality in that test would be extreme since ati would be doing full-/legacy-trilinear whereas nvidia would've only done brilinear.


    Also, how close does an optimisation need to be to the original result before it is judged to be a valid way of rendering that effect?
    Or how close does an optimisation need to be to a "correct" level of IQ before it's judged valid?

    I'm quite curious about this, since it hasn't been discussed that much (/at all?)
     
  17. croc_mak

    Newcomer

    Joined:
    Mar 26, 2002
    Messages:
    46
    Likes Received:
    0

    May be because ATI is stupid?
    May be because Nvidia's quality with trilinear is close to ATI's but brilinear is lower quality?
    May be because reviewers are....never mind :)

    I have seen both ATI and Nvidia recommend a bunch of things in their reviewers guides...who the F*&^ follows them anyway...so, who the F*&k cares what ATI wrote in there..what's important is the quality you get
     
  18. LeGreg

    Newcomer

    Joined:
    Nov 1, 2003
    Messages:
    239
    Likes Received:
    3
    what functions are you talking anyway..
     
  19. lyme

    Newcomer

    Joined:
    May 12, 2004
    Messages:
    16
    Likes Received:
    0
    Your right, brilinear filtering is not trilinear and thus doesn't do trilinear filtering on colour mipmaps.
    In the same way trylinear filtering of mipmaps doesn't do full trilinear filtering unless the mipmaps are distinct.
    So yes I agree.. brilinear filtering yeilds worse image quality than trylinear filtering. Just as trylinear filtering is worse than full trilinear filtering (wether you notice it or not).

    Using ATI's suggested testing methods they should be allowed to use any/all optimizations while nvidia uses none. Thankfully for nVidia they have kept their mouth shut from all the shit they caught last time.

    No in both cases. If your going to call it a full trilinear vs full trilinear test you better be using full trilinear on both. In addition if ATI tells you it's full trilinear you expect full trilinear and not a close faximile.

    true, however I don't know how much a difference in quaility there would be comparing trilinear vs brilinear nor the performance of nvidia in that comparision. I don't remember seeing any reviews using brilinear.


    Personally I don't own a video card capible of running decently games with either AA or AF on, so I don't see the big deal. It is generally the case where if you don't notice a problem during gameplay then its not a issue.
    However since the release of the nv3x ATI-fans have been jumping all over nvidia, sometimes over the smallest nit picky things. I'm not one bit surprised that when ATI pulls something that nvidia-fans don't do the exact same thing to them in return.
    In addition no matter how many people tell me the quality of trylinear is great and wonderful, if it's not trilinear you can't call it that. It seems alot of people are trying to say 'it looks close, so who cares'. Well we went through that with nvidia last time and it didn't fly, why should it now?
     
  20. Drak

    Newcomer

    Joined:
    May 16, 2004
    Messages:
    71
    Likes Received:
    0
    Are you complaining that nvidia should do full trilinear filtering on colour mipmaps? The purpose of the colour mipmaps is to show us the filtering patterns and thankfully, when they're used on nvidia cards, everybody can see what the filtering pattern of nvidia's brilinear is like.
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...