Layered image rendering
First Claim
1. A method for rendering an image layer scene, comprising the steps of:
- (a) defining a scene of image layer elements;
(b) rendering in a computer the elements of the image layer scene over a full black background to obtain color components for each pixel of the image layer scene rendered over full black;
(c) rendering the elements of the image layer scene over a white background to obtain color components for each pixel of the image layer scene rendered over full white; and
(d) combining the color components for each pixel of the image layer scene rendered over full black with the color components for each corresponding pixel of the image layer scene rendered over full white to form the rendered image layer scene by, for each corresponding pixel of the image layer scene rendered over full black and full white;
determining an alpha value for the pixel a one plus the value of a single color component of the pixel from the image layer scene rendered over full black minus the value of the same color color component of the corresponding pixel from the image layer scene rendered over full white;
setting all of the color component values of the pixel to zero if the alpha value for the pixel equals zero;
otherwise setting the color component values of the pixel to the corresponding color component values of the corresponding pixel from the image layer scene-rendered over full black divided by, the alpha value for the pixel.
11 Assignments
0 Petitions
Accused Products
Abstract
A method for creating a rendered scene that is composed of two or more RGB image layers that can be composited at a later time. The resulting composition will appear the same as if it were rendered all at the same time. The elements of a foreground image layer scene are rendered separately over a black background and a white background. The RGB components for each pixel of the foreground image layer scene rendered over the black background are combined with the RGB components for each corresponding pixel of the foreground image layer scene rendered over the white background to form a rendered foreground layer. The foreground layer may be combined with a background image layer in a conventional manner, possibly with additional material added between the background and foreground image layers.
32 Citations
8 Claims
-
1. A method for rendering an image layer scene, comprising the steps of:
-
(a) defining a scene of image layer elements;
(b) rendering in a computer the elements of the image layer scene over a full black background to obtain color components for each pixel of the image layer scene rendered over full black;
(c) rendering the elements of the image layer scene over a white background to obtain color components for each pixel of the image layer scene rendered over full white; and
(d) combining the color components for each pixel of the image layer scene rendered over full black with the color components for each corresponding pixel of the image layer scene rendered over full white to form the rendered image layer scene by, for each corresponding pixel of the image layer scene rendered over full black and full white;
determining an alpha value for the pixel a one plus the value of a single color component of the pixel from the image layer scene rendered over full black minus the value of the same color color component of the corresponding pixel from the image layer scene rendered over full white;
setting all of the color component values of the pixel to zero if the alpha value for the pixel equals zero;
otherwise setting the color component values of the pixel to the corresponding color component values of the corresponding pixel from the image layer scene-rendered over full black divided by, the alpha value for the pixel. - View Dependent Claims (2, 7)
-
-
3. A method for rendering a multi-layer image, comprising the steps of:
-
(a) rendering a background image layer;
(b) saving the background image layer;
(c) creating a foreground image layer scene of foreground image layer elements;
(d) rendering in a computer the element of the foreground image layer scene over a full black background to obtain color components for each pixel of the foreground image layer scene rendered over full black;
(e) rendering in a computer the elements of the foreground image layer scene over a full white background to obtain color components for each pixel of the foreground image layer scene rendered over full white;
(f) combining the color components for each pixel of the foreground image layer scene rendered over full black with the color components for each corresponding pixel of the foreground image layer scene rendered over full white to form a rendered foreground image layer by, for each corresponding pixel of the foreground image layer scenes rendered over full black and full white;
determining an alpha value for the pixel as one plus the value of a single color component of the pixel from the foreground image layer scene rendered over full black minus the value of the same color component of the corresponding pixel from the foreground image layer scene rendered over full white;
setting all of the color component values of the pixel to zero if the alpha value for the pixel equals zero;
otherwise setting the color component values of the pixel to the corresponding color component values of the corresponding pixel from the foreground image layer scene rendered over full black divided by the alpha value for the pixel; and
(g) compositing the background image layer and the foreground image layer to form a multi-layer image. - View Dependent Claims (4, 5, 6, 8)
-
Specification