Jump to content

Loading glb file conversion and display issue


Recommended Posts

I have a file that I exported from Blender. As you can see it is not displaying correctly. The image below is glb file dropped into Babylon Sandbox.  I used Blender and Sandbox as a test as I am getting similar results with my Babylon project .

Why I am confused, is the original file data imported into my Babylon project was from a obj file. When Imported the scene looks good. However when I export the data using BABYLON.GLTF2Export.GLBAsync and load back in using BABYLON.SceneLoader.Async I get the same result as the Babylon Sandbox. ( the intend is to be able to save either a obj or gltf file format as glb to a database and load back in as a glb )

It appears that the z scale could be reversed, but I don't see where.  The scene is using RightHandSystem == true;

Additional info, It appears fine when I loaded glb file into paint3D and also within a Threejs viewer.

I don't have this issue with all files.  




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...