首页> 外国专利> Method and programmable device for triangle interpolation in homogeneous space

Method and programmable device for triangle interpolation in homogeneous space

机译:均匀空间中三角插补的方法和可编程装置

摘要

A method and apparatus for obtaining an attribute of a pixel in homogenous space. After obtaining the vertices of a triangle, the world space coordinates and the attribute of each vertex are transformed to coordinates and an attribute in viewer space. Then a set of homogenous coefficients of each vertex is computed based on the viewer space coordinates, and the viewer space coordinates of each vertex are projected to coordinates in screen space. Pixels in the screen space that are affected by the triangle are determined based on the screen space coordinates. For each pixel affected by the triangle, a set of barycentric coefficients in homogenous space is computed, based on the homogenous coefficients, and a linear interpolation is performed based on the set of homogenous barycentric coefficients and the attributes of the vertices in the viewer space to obtain the attribute in the homogenous space of that pixel.
机译:一种用于获得均匀空间中像素的属性的方法和装置。获得三角形的顶点后,世界空间坐标和每个顶点的属性将转换为查看器空间中的坐标和属性。然后,基于观察者空间坐标计算每个顶点的一组均匀系数,并将每个顶点的观察者空间坐标投影到屏幕空间中的坐标。屏幕空间中受三角形影响的像素是根据屏幕空间坐标确定的。对于受三角形影响的每个像素,根据同质系数计算同质空间中的一组重心系数,并根据该组同质重心系数和查看器空间中顶点的属性进行线性插值,以得出获得该像素的同质空间中的属性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号