摘要 |
A system (200) and method are disclosed for refracting a background image through a three-dimensional object on a computer display (220) in real time. The system (200) and method use a pre-calculated lookup table to obtain vertical and horizontal offset amounts. A pixel mapping engine (420) uses these offset amounts in determining which background image pixels to display as foreground object pixels. The pixel mapping engine (420) uses the same lookup table for each position of the foreground object. In this manner, the background image may be viewed through the foreground object as being refracted without the need to recalcultate the refraction for each foreground object position. In one embodiment, surface graphic having transparent and opaque portions may be composited with a foreground object buffer (440) containing "refracted" background pixel data to form a composite object with the background image being shown as being refracted through the transparent portions of the composite object. |