How to get .gltf model from Cesium Ion to Angular-cesium application ?

67 views
Skip to first unread message

Ujjwal yadav

unread,
Apr 16, 2020, 6:12:14 PM4/16/20
to cesium-dev
1. A concise explanation of the problem you're experiencing.
hello all.. I am suck in this problem from a long, i am new to it .I am trying to load my .gltf model from cesium ion to Angular-Cesium application, i have successfully done the same using Cesium alone, i am successfully loading Bing base map using my default access token on my Angular-Cesium application
(1)should i necessarily use Ion REST API here? i'm not able to load model using REST url while using it with access token to that asset.
{"code":"InvalidCredentials","message":"Invalid access token"} .... getting this error even after providing accurate token assigned to the asset

kindly suggest me the proper way for framing uri by assembling access token to get/read 3d tile from ion, i'll be highly obliged 



(2) or should i use this pattern - and default access token will automatically verify and get model in response(not able to get the model using this way too :-(. ) 

<ac-model-desc props="{
                          position: track.position,
                          minimumPixelSize: 150,
                          maximumScale : 20000,
                          uri: 'https://assets.cesium.com/80190/compleated_push_t2.glb',
                        }">
  </ac-model-desc>

i have no idea, where am i making the mistake, kindly help...



Omar Shehata

unread,
May 4, 2020, 1:15:23 PM5/4/20
to cesium-dev
Heads up that the forum has transitioned over to Discourse and this Google Group will be put into read-only mode today. Details about the transition here.

If you're still having issues, please post your question on the new community forum here: https://community.cesium.com/
Reply all
Reply to author
Forward
0 new messages