首页> 外国专利> Method and apparatus for rendering shadows

Method and apparatus for rendering shadows

机译:渲染阴影的方法和装置

摘要

A method and apparatus for rendering shadows. A pre-rendering process implements a two dimensional array or map of depth-based functions, such as a visibility function in z. During rendering of an object scene, these functions are accessed via lookup operations to efficiently determine the function value for a sample point at a given depth. The use of visibility functions allows for partial light attenuation effects. Each visibility function is computed by filtering multiple transmittance functions obtained by casting sample rays from a light source onto an object scene. The visibility function is implemented as a sequence of vertices. Colored shadows are modeled by vertices comprising a depth value and separate visibility function values for red, green, and blue light at a given depth value. Compression is achieved by minimizing the number of vertices needed to represent a visibility function within a desired error tolerance.
机译:一种渲染阴影的方法和装置。预渲染过程实现了基于深度的函数(例如z中的可见性函数)的二维数组或映射。在渲染对象场景期间,可通过查找操作访问这些功能,以有效地确定给定深度的采样点的功能值。使用可见性功能可实现部分光衰减效果。通过过滤多个透射率函数来计算每个可见性函数,这些透射率函数是将来自光源的样本光线投射到对象场景上而获得的。可见性功能实现为一系列顶点。彩色阴影由包含深度值和给定深度值下的红,绿和蓝光的单独可见性函数值的顶点建模。通过在所需的误差容限内将表示可见度函数所需的顶点数量最小化来实现压缩。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号