PDA

View Full Version : 3D to 2D wireframe



NecroDOME
27-04-2005, 09:27 AM
Hello,

I can render a nice 3D world on my screen, but I want to render it also in a 2D wireframe (top view, left veiw and a front view) is there a way DirectX can do that ? I currently built a new vertex buffer witch just set x, y or z to 0.

I need this cause im transforming some objects with matrices.

Thnx in advance.

Sly
27-04-2005, 11:02 PM
Set your projection transformation to orthographic, then align the camera along the x, y or z axis. This will draw your 3D scene with no perspective.