len3d

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

 

z is the z component of a vector in eye space

 

perspective correct interpolation will linearly interpolate attribute s1, s2, s3

 

using

 

s1/z1, s2/z2, s3/z3

 

then divide the result by

 

1/z

 

where z is the linearly interpolated result of

 

1/z1, 1/z2, 1/z3

 

 

posted on 2008-08-03 18:46  Len3d  阅读(258)  评论(0编辑  收藏  举报