Jump to content

Import a glTF into BabylonJS


rens
 Share

Recommended Posts

Hello,

I’m trying to create a model of a room in BabylonJS and import glTF models of furniture into it. The thing is, I cannot get the scaling and positioning right. In Blender, I try to scale everything to real world scale. E.g. a table in Blender is 1 x 1 x 2 meters. In BabylonJS the room is 10 x 5 (not sure is there are absolute units in Babylon). The furniture appears very big, not at all scaled to the room size.

How can I achieve this? I’m using BABYLON.SceneLoader.ImportMesh.

Thank you!

Link to comment
Share on other sites

  • 1 month later...

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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