VBGamer |
|
A W-Friendly Projection Matrix PyroBoy (0 replies, 0 views) (2000-Jun-20) I'd like to add fog to my D3DIM app, and I need a W-friendly projection matrix...
From what I gather, this matrix must be created and set to the rendering device every frame so the system has relevant depth information.
Right now I get by with one DIrectXObject.ProjectionMatrix()-created matrix at the beginning of the app, which seems to be fine if it's a clear day in 3D land! :-)
I found and read the articles on MSDN on the subject, but there's no code example. Anyone got some code showing how this thing gets put together? |