http://www.gamasutra.com/features/19981211/flavell_01.htmRockman said:what is a mipmap ?
http://www.gamasutra.com/features/19981211/flavell_01.htmRockman said:what is a mipmap ?
Simon F said:I suggest reading Charles Poynton's excellent Gamma FAQ.
Game Developer magazine had an excellent article a couple of years ago about mipmap generation - using an image processing technique and gamma correction to produce much better looking mipmaps.Ingenu said:So which way of generating MIP maps do you recommand ?
Dio said:Game Developer magazine had an excellent article a couple of years ago about mipmap generation - using an image processing technique and gamma correction to produce much better looking mipmaps.Ingenu said:So which way of generating MIP maps do you recommand ?
Dio said:Ah, well, the fact that I actually passed my Fourier theory course at university is still somewhat of a mystery to me, as I don't understand a word of it...
The Scientist and Engineering Guide to DSP said:Fourier analysis is named after Jean Baptiste Joseph Fourier (1768-1830),
a French mathematician and physicist. (Fourier is pronounced: , and is for@¯e@¯a
always capitalized). While many contributed to the field, Fourier is honored
for his mathematical discoveries and insight into the practical usefulness of the
techniques. Fourier was interested in heat propagation, and presented a paper
in 1807 to the Institut de France on the use of sinusoids to represent
temperature distributions. The paper contained the controversial claim that any
continuous periodic signal could be represented as the sum of properly chosen
sinusoidal waves. Among the reviewers were two of history's most famous
mathematicians, Joseph Louis Lagrange (1736-1813), and Pierre Simon de
Laplace (1749-1827).
While Laplace and the other reviewers voted to publish the paper, Lagrange
adamantly protested. For nearly 50 years, Lagrange had insisted that such an
approach could not be used to represent signals with corners, i.e.,
discontinuous slopes, such as in square waves. The Institut de France bowed
to the prestige of Lagrange, and rejected Fourier's work. It was only after
Lagrange died that the paper was finally published, some 15 years later.
Luckily, Fourier had other things to keep him busy, political activities,
expeditions to Egypt with Napoleon, and trying to avoid the guillotine after the
French Revolution (literally!).
Simon F said:Instead, I recommended using linear wavelets where you throw away the higher frequency terms, as it's much much cheaper and works well.
Simon F said:Well, when I presented my research, there were graphics experts from universities and the leading graphics companies there (@GH2003) and they didn't throw rotten fruit at me, so I can't be too far off
If however there are any components over the frequency cut-off you must filter them out before sampling. One such way would be to use a fourier transform, followed by a box cut-off, followed by the inverse F transform. The equivalent, mathematically, is to to perform a convolution [hope that's the correct term] [ed: it is] of a sinc (scaled appropriately in X and Y) with the original signal to get the frequency limited result. If we assume our signal is already discrete (i.e. sampled as is a texture top-level map) but at a higher sample rate, then you can just use a weighted sum of values to generate each output result.
With Bilinear filtering, we are clearly reconstructing a signal using linear segments, not a sinc function, and so the above is not strictly applicable anymore. I did some analysis to find the down-filter with the lowest least squares error result when linearly upscaled again and it looks vaguely like a sinc but with straight segments between turning points.
Unfortunately, this research was not in the paper itself, only in the slides I presented. I might have that online in the near future.
OK the slides are now available on the GH2003 website: They're on the presentations page.darkblu said:Unfortunately, this research was not in the paper itself, only in the slides I presented. I might have that online in the near future.
that would be real interesting indeed. thanks in advance on behalf of all inquiring minds(tm)