How big is the GLTF Bounding Box?

#1

Exporting gltf from 3D Max shows that the bounding box is inconsistent with mesh size


0 Likes

#2

1 meter of 3d max equals 2000 units of babylon? How to make it 1 meter equals 1 unit

0 Likes

#3

@ Deltakosh

0 Likes

#4

Could you please share your asset ?

cc @PatrickRyan to help with the tooling and @bghgary for the gltf part.

By convention GLTF is actually 1 unit is 1 meter.

0 Likes

#5

Have your reset your transforms/scales/xform on your mesh?

0 Likes

#6

@PatrickRyan @bghgary
Hi, guys. I am a friend of zhang.
Asset Link:https://1drv.ms/u/s!AszhOE3w2D6qhySVAznTPrClx0H5

1 Like

#7

@zhang and @Liang, thank you for sharing the glTF file. When I open the glTF in the sandbox, always my first test, the bounding box looks reasonable.

Is there any way you can share a playground with the issue so we can determine what is happening? My guess is that it isn’t anything in the export pipeline but may be something happening on import in your scene. Thanks for the help!

0 Likes

#8

How to put the model on the playground?

0 Likes

#9

How to put the model on the playground

0 Likes

#10

https://www.babylonjs-playground.com/#1CMD3G#79

I reduced my model by 1000 times to be the same as a 1 unit box.

0 Likes

#11

@zhang/@Liang, can you share the source Max file?

0 Likes