Add PR
This commit is contained in:
parent
5b100f3a63
commit
d57434df43
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Allow importing glTFs with a corrected coordinate system
|
title: Allow importing glTFs with a corrected coordinate system
|
||||||
authors: ["@janhohenheim"]
|
authors: ["@janhohenheim"]
|
||||||
pull_requests: [19633, 19685, 19816]
|
pull_requests: [19633, 19685, 19816, 20122]
|
||||||
---
|
---
|
||||||
|
|
||||||
glTF uses the following coordinate system:
|
glTF uses the following coordinate system:
|
||||||
@ -16,7 +16,7 @@ and Bevy uses:
|
|||||||
- up: Y
|
- up: Y
|
||||||
- right: X
|
- right: X
|
||||||
|
|
||||||
This means that to correctly import glTFs into Bevy, vertex data should be rotated by 180 degrees around the Y axis.
|
This means that to correctly import glTFs into Bevy, vertex data should be rotated by 180 degrees around the Y axis.
|
||||||
For the longest time, Bevy has simply ignored this distinction. That caused issues when working across programs, as most software respects the
|
For the longest time, Bevy has simply ignored this distinction. That caused issues when working across programs, as most software respects the
|
||||||
glTF coordinate system when importing and exporting glTFs. Your scene might have looked correct in Blender, Maya, TrenchBroom, etc. but everything would be flipped when importing it into Bevy!
|
glTF coordinate system when importing and exporting glTFs. Your scene might have looked correct in Blender, Maya, TrenchBroom, etc. but everything would be flipped when importing it into Bevy!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user