Jump to content

LittlestTokyo.glb DRACO format model can not be displayed with sandbox


cx20
 Share

Recommended Posts

I tried to display the following DRACO format glb model with Babylon JS Sandbox. 

https://github.com/mrdoob/three.js/blob/dev/examples/models/gltf/LittlestTokyo.glb

However, the following error occurred and the model was not displayed.

babylonjs.loaders.min.js:1 
Uncaught (in promise) Error: #/meshes/38/primitives/0: undefined
    at babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
p._loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
p.loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
l.loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylon.js:1
f	@	babylon.js:1
n.onload	@	babylon.js:1
load (async)		
m.ReadFile	@	babylon.js:1
P._loadData	@	babylon.js:1
P.Append	@	babylon.js:1
P.Load	@	babylon.js:1
(anonymous)	@	babylon.js:1
P.LoadAsync	@	babylon.js:1
n.reload	@	babylon.js:1
n._processReload	@	babylon.js:1
n.loadFiles	@	babylon.js:1
n.drop	@	babylon.js:1
e._dropHandler	@	babylon.js:1

 

I confirmed that it can be displayed with BabylonJS Sandbox if it is a normal glb file which is not DRACO format.

https://sketchfab.com/models/94b24a60dc1b48248de50bf087c0f042

 

Link to comment
Share on other sites

So the  error seems totally related to the one of the gltf validator:

image.thumb.png.344f0b60d0209148162df0b96a7e4fee.png

This happens in the Draco library and my guess is we are using an older version of the library.

The files being not valid (gltf validator errors) means that in theory it should not load anyway.

But as other are able to load it, we will investigate whether we should also add support for it.

@bghgary for follow up.

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.

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