VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D3DTLVERTEX - What the holy hell is RHW? PyroBoy (4 replies, 0 views) (2000-Sep-12) According to the MSDN docs:
RHW is the reciprocal of the W coordinate from the homogeneous point (x,y,z,w) at which the vertex exists in projection space. (This value often works out to be the distance from the eyepoint to the vertex, taken along the z-axis.)
Huh? I just want to put 4 vertices on the screen and draw a quad. What do I put for each vertex's RHW? Why does the rasterizer need this? The vertices are already transformed, in screen space, ready to go. Shouldn't need any more info should it?
|