What Does the Equation from the Anti-Aliasing Section in GPU Gems 2 Represent?

  • Thread starter Thread starter rebeka
  • Start date Start date
  • Tags Tags
    Edge
rebeka
Messages
43
Reaction score
0
From this example

Anti-Aliasing section 22.4.1
http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter22.html

what does the following equation represent and how was it derived?

k = \frac{2}{(2r+w)\sqrt{(x_0 - x_1)^2 - (y_0 - y_1)^2}}

I assume the 4 sets of linear equation coefficients are slope formula derivatives but I can't quite work it out! I assume there is something of a dot product going on in there but I'm really having a hard time putting it together and I won't use something in code(home project) until I understand it completely!

Thanks for any input,
BekaD:
 
Last edited by a moderator:
Physics news on Phys.org
I mean just for starters \frac{2}{r+2w} = \frac{1}{w} looks to be \frac{1}{|\vec{U}|} and \frac{1}{\sqrt{(x_0-x_1)^2 - (y_0-y_1)^2}} looks to be \frac{1}{|\vec{V}|} except that there's a negative in there? A few thoughts on that, inverted y screen coordinate <= probably not -.- ok one thought...

So then with \vec{e} plugging the k into the first two coefficients of each looks to be just missing the \vec{U} or \vec{V} from a cos\theta! The missing is obviously filled in when d_n = (x,y,1)\cdot\vec{e} is expanded(proper wording??)... but what is the determinant of the major line doing being added to one and divided by the product of the magnitudes? And why is the resultant like two rotations and a magnitude(guessing)...

The one text I have Linear Algebra and Differential Equations says the following about a distance to a point:

The distance to a point d(U,V) = |\vec{U}-\vec{V}| and well I have a really hard time reading Bernsteins Matrix Mathematics but if anyone knows something I should read in there :D

I could be on this one for a while...
 
re the negative -- that equation is going to put a negative number in the square root whenever the line changes more in y than x? So, I'm guessing it's a typo and they mean + not - ...
 
Zaphos said:
re the negative -- that equation is going to put a negative number in the square root whenever the line changes more in y than x? So, I'm guessing it's a typo and they mean + not - ...

'tis true... o-o
 
##\textbf{Exercise 10}:## I came across the following solution online: Questions: 1. When the author states in "that ring (not sure if he is referring to ##R## or ##R/\mathfrak{p}##, but I am guessing the later) ##x_n x_{n+1}=0## for all odd $n$ and ##x_{n+1}## is invertible, so that ##x_n=0##" 2. How does ##x_nx_{n+1}=0## implies that ##x_{n+1}## is invertible and ##x_n=0##. I mean if the quotient ring ##R/\mathfrak{p}## is an integral domain, and ##x_{n+1}## is invertible then...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top