Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLTFLoader: Error loading .glb from Revit 3D Tiles 1.1 export #30179

Open
yoyomule opened this issue Dec 21, 2024 · 1 comment
Open

GLTFLoader: Error loading .glb from Revit 3D Tiles 1.1 export #30179

yoyomule opened this issue Dec 21, 2024 · 1 comment

Comments

@yoyomule
Copy link

yoyomule commented Dec 21, 2024

Description

I exported the Revit file to 3Dtile (3Dtile 1.1 standard, Meshopt compression), which can be loaded normally in Cesium, but in 3Dtilerender it either cannot be loaded or the model loses objects after loading.After communicating with 3DTilesRendererJS( NASA-AMMOS/3DTilesRendererJS#879 ), I think it is related to the gltf loader of threejs. I provide the 3Dtile model and hope to get help. Thank you。

Reproduction steps

1.export revit to 3dtile
2.Load in3DTilesRendererJS

Code

// code goes here

Live example

export revit to 3dtile model(3dtlile1.1)
dtz2.zip

Screenshots

image
image

Version

r162

Device

Desktop

Browser

Edge

OS

Windows

@donmccurdy donmccurdy changed the title Loading 3dtile 1.1 standard glb data through threejs, loading error occurs GLTFLoader: Error loading .glb from Revit 3D Tiles 1.1 export Dec 23, 2024
@donmccurdy
Copy link
Collaborator

To @gkjohnson's comment in NASA-AMMOS/3DTilesRendererJS#879, I don't think the official validator understands EXT_meshopt_compression, so it's difficult to say without a closer look whether the data is valid or not. I tested in...

  • THREE.GLTFLoader
  • glTF Transform
  • Babylon
  • Playcanvas

... and only Babylon parsed the file without errors, so my guess is something is off with the export, but I'll try to take a closer look and verify that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants