Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Matrix Y-Up to Z-Up

Name: Anonymous 2011-10-14 13:24

I'm trying to convert a Y-Up matrix to a Z-Up matrix, by converting this


| px py pz |
| rx ry rz |
| yx yy yz |
| tx ty tz |


into this


| px pz py |
| yx yz yy |
| rx rz ry |
| tx tz ty |



That works fine except that it's facing in the wrong direction along the Z axis. Anyone know what to change?

Name: >>1 2011-10-14 13:25

Sorry I mean it's facing the wrong way along the Y axis.

Name: Anonymous 2011-10-14 14:05

Try Y=Z=7.

Name: Anonymous 2011-10-14 15:42


| px -pz py |
| yx -yz yy |
| rx -rz ry |
| tx  tz ty |


Thank me later.

Name: Anonymous 2011-10-14 15:57

>>4
Don't click, it's a virus!

Name: Anonymous 2011-10-14 20:04

>doesn't have a w coordinate

Don't change these.
Name: Email:
Entire Thread Thread List