Why use 3d matrix and camera in 2D world for 2d geometric figures?

Posted by Navy Seal on Game Development See other posts from Game Development or by Navy Seal
Published on 2012-07-02T17:22:56Z Indexed on 2012/07/02 21:24 UTC
Read the original article Hit count: 344

Filed under:
|
|
|
|

I'm working in XNA on a 2d isometric world/game and I'm using DrawUserPrimitives to draw some geometric figures...

I saw some tutorials about creating dynamic shadows but I didn't understood why they use a "3d" matrix to control the transformations since the figure I'm drawing is in 2d perspective.

I know I'm drawing a 2d figure in 3d but I still can't understand if I really need to work with the matrix.

Is there any advantage in using a 3d Matrix to control camera and view?

Any reason why I can't just update my vertex's positions by using a regular method since the view is always the same... And since I want to work only with single figures, won't this cause all the geometric figures have the same transformations simultaneously?

To understand better what I mean here's a video http://www.youtube.com/watch?v=LjvsGHXaGEA&feature=player_embedded

© Game Development or respective owner

Related posts about XNA

Related posts about c#