I try to develope stand alone S/W using Cesium.
How can load gltf file on offline(without server) circumstance?
I try to develope stand alone S/W using Cesium.
How can load gltf file on offline(without server) circumstance?
Add the file to a known path in your project and relate to it. It works nice on our offline projects.
Hope this helps.
Thank you for your help .
however I also have some trouble.
during local server on (http://localhost:11894/test.html) - gltf loaded
during local server off (c:\testfolder\test.html) - gltf not loaded
in case of 2. there’s any solution? or how can i handled it?
2016년 3월 9일 수요일 오후 7시 51분 13초 UTC+9, Yonatan Kra 님의 말:
and My base project is ‘Hello world’
2016년 3월 9일 수요일 오후 6시 15분 35초 UTC+9, SOOAH RHEE 님의 말:
Hello,
Cesium can run offline, but it can not run from the file system. You have to host the files using a local server.
Best,
Hannah
That’s not true. You can run Cesium totally offline without a server but the answer really depends on the technology you are using for implementation. For example, .NET, cordova, electron, nw.js, all allow for Cesium (with models) to work perfectly.