• ### Announcements

#### Archived

This topic is now archived and is closed to further replies.

# swapping coordinate systems from 3D studio to direct3d

## Recommended Posts

billybob    134
i''m having a bit of trouble converting from 3D studio to direct3D''s coordinate system, i was just checking if this is the swap matrix:
1 0 0 0
0 0 1 0
0 1 0 0
0 0 0 1

things are not working, so i would just like to make sure this is right.

##### Share on other sites
Nik02    4348
The matrix indeed changes the notion of y/z. No problem there.

EDIT:
Assuming, in your d3d program you define the 'up' vector to be [0 1 0].

[edited by - Nik02 on August 8, 2003 4:23:52 AM]

##### Share on other sites
billybob    134
ok, so if you made a view matrix that was at angle 0, 0, 0, at the origin, then it should be looking down the y axis after multiplying by that matrix in Direct3D? mine is looking down, and can''t for the life of me figure out why.