PDA

View Full Version : chromatic aberration paper mistake?



BoSoft
04-20-2004, 05:59 AM
Hi,
When I looked at the physical approach of Nvidia's paper, I was very confused about one part of the equation:

sqr( I - n(1-(N.I)) )

N and I are vectors.

How can you take the square root of a vector,
and how can you subtract a scalar from a vector?
AFAIK it is not possible.
Should there be a 1 instead of the first I ?

-FA

Obli
04-21-2004, 10:31 AM
What paper? I don't mind this out.

BoSoft
04-21-2004, 12:57 PM
Hi,
I mean this paper: http://developer.nvidia.com/object/chromatic_aberration.html

The equation for the refraction vector seems to be false (Page 12).

Cyberkaa
04-21-2004, 08:47 PM
There was a slight error in the equation. If you take a look at this web page,

http://www.cfxweb.net/modules.php?name=News&file=article&sid=660

you'll see the correct equation.

The I vector under the radical should have been a 1.