Direction in Matrix

Started by
0 comments, last by ibr_ozdemir 17 years, 5 months ago
hi, D3DXMatrixTranslation(m,0,0,0) : D3DXMatrixTranslation(m,0,0,1) : (also my camera's position is x=-2,3 y=1,3 z=-4) so in Direct3D Space (plus)z is forward depth(for camera) when i get the matris(of head in the picture) : first scene matris : _11:1,0000 _12:0,0000 _13:0,0000 _14:0,0000 _21:0,0000 _22:1,0000 _23:0,0000 _24:0,0000 _31:0,0000 _32:0,0000 _33:1,0000 _34:0,0000 _41:0,0000 _42:0,0000 _43:0,0000 _44:1,0000 why _33(Direction) is 1,0000 it has to be -1,0000 because in Direct3D Space (plus)y is up and _22(Up vector) is 1 not -1 i hope i can tel you my problem (my english is poor a little bit)
Advertisement
forget it,
i understand now
sory for disturbing

This topic is closed to new replies.

Advertisement