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

ContextCapture 3dtiles failed to display #7020

Closed
veolata opened this issue Sep 10, 2018 · 3 comments
Closed

ContextCapture 3dtiles failed to display #7020

veolata opened this issue Sep 10, 2018 · 3 comments

Comments

@veolata
Copy link

veolata commented Sep 10, 2018

I have a tileset generate from context capture (2G in size). Using the apps from bentley, the tileset can be displayed. But when I try to use the tilest as an datasource to code something, it seems not work.

I check the js code Bentley written, it's compressed. It seems did some transform and other modification of the model. But It is not clear, any resource to directly show how to display my tileset directly generate from contextcapture?

btw, Why context capture has not document it clearly? or publish the code clearly???

@hpinkos
Copy link
Contributor

hpinkos commented Sep 10, 2018

Hello @veolata, Context Capture should export 3D Tiles tilesets that are compatible with CesiumJS. However, you wouldn't use a datasource to load them. Here is an example of how to add a tileset:

var viewer = new Cesium.Viewer('cesiumContainer');

var tileset = new Cesium.Cesium3DTileset({
    url: '/path/to/tileset'
});

viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);

If it is not in the correct location on the globe you may need to set tileset.modelMatrix.

Although Bentley supports CesiumJS development, the Cesium team does not work on Context Capture. If you are having further issues, I would contact Bentley support to see if they are able to help you. Thanks!

@hpinkos hpinkos closed this as completed Sep 10, 2018
@veolata
Copy link
Author

veolata commented Sep 10, 2018

@hpinkos, Thanks for reply! I am not try to solve the height issue. I did reset the model matrix. But seems only the b3dm files were not downloaded. Other json files in tree are downloaded. Really cant figure it, please help~

@veolata
Copy link
Author

veolata commented Sep 12, 2018 via email

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

No branches or pull requests

2 participants