首页> 外国专利> Method and apparatus for approximating nonlinear functions in a graphics system

Method and apparatus for approximating nonlinear functions in a graphics system

机译:在图形系统中逼近非线性函数的方法和装置

摘要

A method and apparatus for approximating exponential and other nonlinear functions in a graphics system is accomplished using a linear interpolator adapted to receive a graphics primitive that includes vertex values for a parameter at each vertex of the graphics primitive. The linear interpolator determines a linear interpolation value for the parameter at a selected pixel within the primitive based on the vertex values. The linear interpolation value is then used to generate a first index and a fractional value, where the fractional value is the difference between the linear interpolation value and the first index. The first index is then incremented to produce a second index. The first and second indexes are then applied to a memory block that stores a discrete sampling of a nonlinear function corresponding to the parameter. The first index and the second index correspond to sample points of the nonlinear function, and the memory block provides a first sample and a second sample of the nonlinear function in response to the first and second indexes. An arithmetic unit then combines the first and second samples using the fractional value to determine a value for the parameter at the selected pixel.
机译:使用适合于接收图形基元的线性内插器来实现一种用于在图形系统中近似指数函数和其他非线性函数的方法和装置,该线性内插器接收包括图形基元的每个顶点处的参数的顶点值的图形基元。线性内插器基于顶点值为图元内的选定像素处的参数确定线性内插值。然后,线性内插值用于生成第一索引和分数值,其中分数是线性内插值和第一索引之间的差。然后将第一索引递增以产生第二索引。然后将第一和第二索引施加到存储块,该存储块存储与参数相对应的非线性函数的离散采样。第一索引和第二索引对应于非线性函数的采样点,并且存储块响应于第一索引和第二索引而提供非线性函数的第一采样和第二采样。然后,算术单元使用分数值组合第一样本和第二样本,以确定所选像素处的参数值。

著录项

  • 公开/公告号US6191788B1

    专利类型

  • 公开/公告日2001-02-20

    原文格式PDF

  • 申请/专利权人 ATI INTERNATIONAL SRL;

    申请/专利号US19980213195

  • 发明设计人 RICHARD J. FULLER;

    申请日1998-12-17

  • 分类号G06F150/00;

  • 国家 US

  • 入库时间 2022-08-22 01:05:07

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号