摘要 |
A system performs refraction mapping for an image having an object, the object being viewed along at least one line of sight and at least partially through a boundary of first and second at least semi-transparent media. The boundary defines at least one normal vector at one or more intersections of the line of sight and the boundary. The system includes: a perspective transformation unit operable to project a three-dimensional version of the object on a two-dimensional texture plane using a perspective view transformation algorithm to obtain texture addresses of the object, the texture plane being perpendicular to the line of sight and the transformation being performed without regard to refraction; and a refraction determination unit operable to obtain at least one refraction vector for at least one of the texture addresses, a given refraction vector being a function of a component of the at least one normal vector that is parallel to the texture plane. |