-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add basePath option to Cesium.Model.fromGltf #5320
Labels
Comments
pjcozzi
added
good first issue
An opportunity for first time contributors
type - enhancement
labels
May 17, 2017
Thanks again for the input, @HowardWolosky. |
HowardWolosky
added a commit
to HowardWolosky/gltf-vscode
that referenced
this issue
Jun 2, 2017
…changes * Updated Cesium engine to 1.34 and leveraged the new [`basepath`](CesiumGS/cesium#5320) option in `Cesium.Model.fromGltf`. * Updated Babylon.js engine to get a [tangent fix](BabylonJS/Babylon.js#2222). * Babylon (like Cesium) now defaults to previewing the content in the tab as opposed to the content saved in the file, the same way it's done in this [Babylon Plaground Example](https://www.babylonjs-playground.com/#1AbIIF#7). Resolves Issue AnalyticalGraphicsInc#15 > **Work in Progress** > - This doesn't have a Babylon with pull 2222 since that hasn't been taken to master > - Active preview for Babylon is not currently working for some reason. More investgiation needs to happen.
HowardWolosky
added a commit
to HowardWolosky/gltf-vscode
that referenced
this issue
Jun 5, 2017
…changes * Updated Cesium engine to 1.34 and leveraged the new [`basepath`](CesiumGS/cesium#5320) option in `Cesium.Model.fromGltf`. * Updated Babylon.js engine to get a [tangent fix](BabylonJS/Babylon.js#2222). * Babylon (like Cesium) now defaults to previewing the content in the tab as opposed to the content saved in the file, the same way it's done in this [Babylon Plaground Example](https://www.babylonjs-playground.com/#1AbIIF#7). Resolves Issue AnalyticalGraphicsInc#15 > **Work in Progress** > - Active preview for Babylon is not currently working for some reason. More investgiation needs to happen.
HowardWolosky
added a commit
to HowardWolosky/gltf-vscode
that referenced
this issue
Jun 5, 2017
* Updated Cesium engine to 1.34 and leveraged the new [`basepath`](CesiumGS/cesium#5320) option in `Cesium.Model.fromGltf`. * Updated Babylon.js engine to get a [tangent fix](BabylonJS/Babylon.js#2222). Resolves Issue AnalyticalGraphicsInc#15
HowardWolosky
added a commit
to HowardWolosky/gltf-vscode
that referenced
this issue
Jun 5, 2017
* Updated Cesium engine to 1.34 and leveraged the new [`basepath`](CesiumGS/cesium#5320) option in `Cesium.Model.fromGltf`. * Updated Babylon.js engine to get a [tangent fix](BabylonJS/Babylon.js#2222). Resolves Issue AnalyticalGraphicsInc#15
HowardWolosky
added a commit
to HowardWolosky/gltf-vscode
that referenced
this issue
Jun 5, 2017
* Updated Cesium engine to 1.34 and leveraged the new [`basepath`](CesiumGS/cesium#5320) option in `Cesium.Model.fromGltf`. * Updated Babylon.js engine to get a [tangent fix](BabylonJS/Babylon.js#2222). Resolves Issue AnalyticalGraphicsInc#15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Right now, there are two ways of loading glTF content:
Cesium.Model.fromGltf
andnew Cesium.Model
. When usingnew Cesium.Model
, you can specify abasePath
(although it doesn't currently work (see Issue #5319)). Unfortunately, you can't specify abasePath
when usingCesium.Model.fromGltf
. This means it's not possible to use that API to load local files that leverage relative paths for their binary content.This is to track the request to add the ability to specify a
basePath
forfromGltf
as well.The text was updated successfully, but these errors were encountered: