PDA

View Full Version : the order of dividing W and interpolation in the rendering pipeline


shuipi
04-Sep-2007, 03:44
Hi
It seems that in D3D pipeline, after getting the homogenious coords by multiplying the proj matrix, the hardware does rasterization on the homo coords, then for each fragment, divide W. What happens if divide W first, then rasterize?

Simon F
04-Sep-2007, 06:54
Hi
It seems that in D3D pipeline, after getting the homogenious coords by multiplying the proj matrix, the hardware does rasterization on the homo coords, then for each fragment, divide W.Really? Is it mandatory?What happens if divide W first, then rasterize?
You just need to clip the triangles before rasterisation. That's the more traditional approach.