Skip to content

Commit

Permalink
Update the Cesium and Babylon engines / Make Babylon work on unsaved …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
HowardWolosky committed Jun 5, 2017
1 parent 6b41629 commit e627746
Show file tree
Hide file tree
Showing 53 changed files with 696 additions and 436 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

### 2.0.2 - UNRELEASED

* Updated Cesium engine to 1.34 and leveraged the new [`basepath`](https://github.com/AnalyticalGraphicsInc/cesium/issues/5320) option in `Cesium.Model.fromGltf`.
* Updated Babylon.js engine to get a [tangent fix](https://github.com/BabylonJS/Babylon.js/pull/2222).
* Babylon (like Cesium) now defaults to previewing the content in the tab as opposed to the content saved in the file.

### 2.0.1 - 2017-06-01

* Update Babylon engine to fix glTF 1.0 support.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ This works for arrays as well, for example the list of enabled render states. H

Press <kbd>ALT</kbd> + <kbd>G</kbd> on your glTF file, or look for the command `Preview 3D Model` in VSCode's list of commands (<kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>P</kbd>) and use that.

The Babylon.js and Three.js engines will preview the saved model as opposed to
the current content in your open VS Code tab. The Cesium engine will first try
The Three.js engines will preview the saved model as opposed to
the current content in your open VS Code tab. The Babylon and Cesium engines will first try
to preview what is currently in your tab, and only if that fails will it fall
back on displaying the version of the model saved on disk.

Expand Down
161 changes: 81 additions & 80 deletions engines/Babylon/babylon.custom.js

Large diffs are not rendered by default.

304 changes: 187 additions & 117 deletions engines/Cesium/Cesium.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion engines/Cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engines/Cesium/Widgets/CesiumInspector/CesiumInspector.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engines/Cesium/Widgets/Geocoder/Geocoder.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engines/Cesium/Widgets/InfoBox/InfoBox.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e627746

Please sign in to comment.