3D Rendering with Direct3DOnce you know how to initialise Direct3D you are ready to start creating 3D worlds. There are quite a large number of things that need looking at. This section contains a number of notes on these. Note that there is a demo application with source code showing off a working Direct3D application here: Cube Demo Notes IndexZ Buffer- the depth buffer Matrices - the matrices used by Direct3D Lighting - the lights used by Direct3D Rendering Primitives - drawing things! Effects files - notes on using effect files (.fx) 3D Models - notes on rendering 3D models (X files) OpenGL and Direct3D Axis Differences Note: OpenGL, Direct3D 10, Direct3D 11 and Direct3D 9 vary in the axis system used. In Direct3D 9 x is right, y up and z in, like this. In the others z is reversed.
|