BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
813 stars 232 forks source link

GLB assets have faces flipped when export #159

Closed jpionnie closed 3 years ago

jpionnie commented 4 years ago

Hi, With the latest version of the editor it seems that export flip the faces of .glb file.

Export with babylon exporter: Screen_flip_normal_01

Import in editor : Screen_flip_normal_03

Export : Screen_flip_normal_02

julien-moreau commented 4 years ago

Hey thanks for reporting! I’m checking! Maybe it is just due to the coordinates system. As a developer, can you put your scene as right handed system ?

julien-moreau commented 4 years ago

Also, for your export, have you chosen .babylon or .gltf/glb ?

julien-moreau commented 4 years ago

I don't reproduce when using GLB/GLTF as export but only when I export to .babylon I'm trying to fix now

julien-moreau commented 4 years ago

@jpionnie do you still reproduce when choosing GLTF or GLB as export format?

jpionnie commented 4 years ago

@julien-moreau On my last check it's seems ok for GLB and glTF, my bad. Thx for your reactivity.

julien-moreau commented 4 years ago

Good to know! After analysis, I think the only good fix is to configure the scene to use right handed system. will let you know once fixed for the .babylon format :)

julien-moreau commented 3 years ago

Done :)