Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flip_y_up_to_z_up method to Matrix4 #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FredrikNoren
Copy link

This is for converting between models which often come in a y-up coordinate system (maya) and game which often use a z-up system.

Math from http://stackoverflow.com/questions/22571364/threejs-matrix-from-z-up-coordinate-system-to-y-up-coordinate-system

This is for converting between models which often come in a y-up coordinate system (maya) and game which often use a z-up system.

Math from http://stackoverflow.com/questions/22571364/threejs-matrix-from-z-up-coordinate-system-to-y-up-coordinate-system
@brendanzab
Copy link
Collaborator

Aha, interesting! Will have to think about what the best API/naming should be

@FredrikNoren
Copy link
Author

Yeah I was going back and fort a bit. Maybe something like just flip_yz is
easier
On Wed, Sep 14, 2016 at 8:28 PM Brendan Zabarauskas <
[email protected]> wrote:

Aha, interesting! Will have to think about what the best API/naming should
be


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#381 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOnSUxzjboCTHIt8Fp_jN7N7reilBRdks5qqJEYgaJpZM4J6DTl
.

@brendanzab
Copy link
Collaborator

How likely is it that there are other coordinate systems? And will we need this for the other transformation types? cc. @mhintz

@FredrikNoren
Copy link
Author

I think y vs z up is the most common issue.
https://www.reallusion.com/iclone/help/3dxchange5/pro/05_Export/Y_Up_or_Z_Up.htm
for instance. Generally it seems like many 3D tools (but not all) use y up
whereas game engines are split between them (unity uses y and unreal z)
On Thu, Sep 15, 2016 at 5:01 AM Brendan Zabarauskas <
[email protected]> wrote:

How likely is it that there are other coordinate systems? And will we need
this for the other transformation types? cc. @mhintz
https://github.com/mhintz


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#381 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOnSc3AiZtA2IwclJJ9bC45oplZlTr9ks5qqLT-gaJpZM4J6DTl
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants