- #1
rebeka
- 44
- 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?
[tex]k = \frac{2}{(2r+w)\sqrt{(x_0 - x_1)^2 - (y_0 - y_1)^2}}[/tex]
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:
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?
[tex]k = \frac{2}{(2r+w)\sqrt{(x_0 - x_1)^2 - (y_0 - y_1)^2}}[/tex]
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: