Having problems with clipping in Direct3D.
I know how to assemble the clip matrix and could transform all of my vertices by this matrix, test against w, and accomplish clipping.
However I want to work with the hardware and not against it. I've read the DirectX docs but it does not look like I can retrieve a clip matrix at any point in the pipeline. Since clipping is probably done on the hardware does this mean to pre-clip my vertices I will have to re-transform my vertices by my own clip matrix??
Essentially if the object is off screen or not in the view frustrum I don't want it rendered.



LinkBack URL
About LinkBacks


