projections?

Started by
0 comments, last by Seriema 21 years, 2 months ago
hi! How do you switch between parallelprojection and centralprojection in DX? That seems extremely hard to do!.. But then again, I''m new at this If it''s to hard to do, do you have a link to a demo? thanx "No lies of sugar can sweeten the sournes of reality" }+TITANIUM+{ A.K.A. DXnewbie[onMIRC]
[ ThumbView: Adds thumbnail support for DDS, PCX, TGA and 16 other imagetypes for Windows XP Explorer. ] [ Chocolate peanuts: Brazilian recipe for home made chocolate covered peanuts. Pure coding pleasure. ]
Advertisement
Have a look at the D3DXMatrixPerspective* and D3DXMatrixOrtho* functions, from the SDK docs. The LH (left hand) ones are with the z-axis into the screen, and the RH ones (right hand) are with the z-axis out of the screen, like the OpenGL coord system.

- Mete

This topic is closed to new replies.

Advertisement