首页>
外国专利>
COMPUTER GRAPHICS DISPLAY METHOD AND SYSTEM WITH SHADOW GENERATION
COMPUTER GRAPHICS DISPLAY METHOD AND SYSTEM WITH SHADOW GENERATION
展开▼
机译:具有阴影生成的计算机图形显示方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
A computer graphics display system and method are described for rendering a scene formed of at least one geometric primitive as a pixel image having shadows produced by at least one defined light source. Multiple passes are made through the primitive data structure for each light source capable of producing shadows in the scene to be rendered. In a first pass, the scene is rendered to a frame buffer in the usual way, but using only the ambient component of the light specification, and a first Z-buffer is updated with the viewpoint Z value. For each defined light source (i), two additional passes (PASS 2i and 2i+1) through the data structure are required. In the first of these, a transformation matrix is set up in such a way that the viewpoint is moved to the position of the light source. The scene is then rendered in the usual way except that the frame buffer is not updated, and a second Z-buffer (light source view Z-buffer) is used instead of the first Z-buffer. In the next pass, the shaded image and shadows are generated in parallel using the content of the first and second Z-buffers. When the frame buffer is updated, it is accomplished in a cumulative manner with each computed intensity value due to a specific light source being added to any value already stored there. In this way, intensities resultant from each of multiple light sources are accumulated on the image. IMAGE
展开▼