Skip to content

Commit 8729407

Browse files
committed
## 2.2.3
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs. #### ✨ Enhancements - #243 Create a new example on terrain layer - New example on terrain layer with a 3D model aligned vertically [21-terrain.html](https://github.com/jscastro76/threebox/blob/master/examples/21-terrain.html) - #244 Darken the raster layer with realSunlight #### 🪲 Bug fixes - #233 map.setLight is not updated when tb.setStyle until the map moves - #237 `ObjectMouseOver` doesn't work after triggering `SelectedChange` - #241 KNOWN ISSUE: Terrain layer calculates wrongly the object height - #242 KNOWN ISSUE: Create a warning for sky layers when used with Mapbox < 2.0 #### 📝 Documentation - Updated [documentation](/examples/readme.md) - Updated [Threebox documentation](/docs/Threebox.md) (`terrain` attribute and property, `tb.createTerrainLayer`, `tb.updateSunGround`) - Updated [Examples](/examples) documentation (new terrain layer in 21).
1 parent 06b1bb4 commit 8729407

18 files changed

Lines changed: 1076 additions & 211 deletions

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22

33
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs.
44

5+
#### :sparkles: Enhancements
6+
- #243 Create a new example on terrain layer
7+
- New example on terrain layer with a 3D model aligned vertically [21-terrain.html](https://github.com/jscastro76/threebox/blob/master/examples/21-terrain.html)
8+
- #244 Darken the raster layer with realSunlight
9+
510
#### :beetle: Bug fixes
11+
- #233 map.setLight is not updated when tb.setStyle until the map moves
612
- #237 `ObjectMouseOver` doesn't work after triggering `SelectedChange`
13+
- #241 KNOWN ISSUE: Terrain layer calculates wrongly the object height
14+
- #242 KNOWN ISSUE: Create a warning for sky layers when used with Mapbox < 2.0
15+
16+
#### :pencil: Documentation
17+
- Updated [documentation](/examples/readme.md)
18+
- Updated [Threebox documentation](/docs/Threebox.md) (`terrain` attribute and property, `tb.createTerrainLayer`, `tb.updateSunGround`)
19+
- Updated [Examples](/examples) documentation (new terrain layer in 21).
720

821
- - -
922

LICENSE.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9090

9191
- Windmill
9292
- Creative Commons License attribution: Windmill animated model by https://sketchfab.com/data3anshow
93-
from https://sketchfab.com/3d-models/windmill-animated-6ce5667e8d5c47068ea13196036efd52
93+
from https://sketchfab.com/3d-models/windmill-animated-6ce5667e8d5c47068ea13196036efd52
94+
95+
- Glacier d'Argentiere
96+
- Attribution, no License specified: Glacier model by https://github.com/jbbarre
97+
from https://github.com/jbbarre/glacierargentiere/blob/main/data/glacier_wgs.gltf

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Only in this fork, there is a list of new features implemented on top of the ama
6565
- Support for Object3D embedded animations, and custom animations on AnimationManager (i.e. embedded animation + translate + rotate).
6666
- Support for multi-layer and multi-floor design of spaces.
6767
- Support for built-in shadows and real Sun light positioning for a given datetime and lnglat coords.
68-
- Support for built-in Sky layer synced with real Sun light.
68+
- Support for built-in Mapbox v2 Sky and Terrain layer synced with real Sun light.
6969
- Support for Non-AABB Non Axes Aligned Bounding Box and real model size, including floor projection.
7070
- Support for Object3D auto-centering and 9 default anchor positions customizable through adjustments.
7171
- Support for `setLayerZoomRange` and `setLayoutProperty` on Custom Layers (not available in Mapbox).

ThreeboxSolution.njsproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<Content Include="examples\16-multilayer.html" />
8989
<Content Include="examples\17-azuremaps.html" />
9090
<Content Include="examples\20-game.html" />
91+
<Content Include="examples\21-terrain.html" />
9192
<Content Include="examples\geojson\extrusion.geojson" />
9293
<Content Include="examples\geojson\indoor-3d-map.geojson" />
9394
<Content Include="examples\images\3dbuildings.jpg" />
@@ -109,11 +110,13 @@
109110
<Content Include="examples\images\performance.jpg" />
110111
<Content Include="examples\images\raycaster.jpg" />
111112
<Content Include="examples\images\stylechange.jpg" />
113+
<Content Include="examples\images\terrain.jpg" />
112114
<Content Include="examples\images\tube.jpg" />
113115
<Content Include="examples\images\vuejs.jpg" />
114116
<Content Include="examples\models\history\elephant.glb" />
115117
<Content Include="examples\models\history\triceratops.fbx" />
116118
<Content Include="examples\models\landmarks\eiffel.glb" />
119+
<Content Include="examples\models\landmarks\glacier.gltf" />
117120
<Content Include="examples\models\landmarks\libertystatue.glb" />
118121
<Content Include="examples\models\landmarks\spaceneedle.glb" />
119122
<Content Include="examples\models\plane\plane.glb" />

0 commit comments

Comments
 (0)