首页> 外国专利> 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
机译:描述了一种计算机图形显示系统和方法,用于将由至少一个几何图元形成的场景渲染为具有由至少一个定义的光源产生的阴影的像素图像。对于每个能够在要渲染的场景中产生阴影的光源,通过原始数据结构进行多次遍历。在第一遍中,以常规方式将场景渲染到帧缓冲区,但仅使用光照规范的环境成分,并且使用视点Z值更新第一Z缓冲区。对于每个定义的光源(i),需要通过数据结构的两次附加通过(通行证2i和2i + 1)。首先,以使视点移动到光源位置的方式建立变换矩阵。然后,除了不更新帧缓冲区外,以通常的方式渲染场景,并使用第二个Z缓冲区(光源视图Z缓冲区)代替第一个Z缓冲区。在下一遍中,使用第一和第二Z缓冲区的内容并行生成阴影图像和阴影。当更新帧缓冲器时,由于将特定光源添加到已经存储在那里的任何值,因此每个累积强度值都以累积方式完成。以此方式,由多个光源中的每一个产生的强度被累积在图像上。 <图像>

著录项

  • 公开/公告号KR970003325B1

    专利类型

  • 公开/公告日1997-03-17

    原文格式PDF

  • 申请/专利权人 IBM CORP.;

    申请/专利号KR19930000992

  • 发明设计人 SCHEIBL FREDERICK JAMES;

    申请日1993-01-27

  • 分类号G06F15/62;

  • 国家 KR

  • 入库时间 2022-08-22 03:18:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号