随笔分类 -  CG

Getting to know the Q texture coordinate...
摘要:These days texture mapping hardware is really cheap, so we use texture maps a lot. One of the more interesting aspects of texture mapping is the space that texture coordinates live in. Most of us like to think of texture space as a simple 2D affine plane. In most cases this is perfectly acceptable.. 阅读全文

posted @ 2013-10-10 15:07 swdever 阅读(471) 评论(0) 推荐(0)

Perspective-Correct Interpolation
摘要:(quote from "Mathematics for3D Game Programmingand Computer GraphicsThird Edition") As the figure above showing,correct interpolation across the face of a triangle isnot linear since equally spaced steps taken on the projection plane correspond tolarger steps taken on the face of a triangl 阅读全文

posted @ 2013-10-10 00:29 swdever 阅读(612) 评论(0) 推荐(0)