Skip to content

Commit

Permalink
## 2.2.3
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
jscastro76 committed May 8, 2021
1 parent 06b1bb4 commit 8729407
Show file tree
Hide file tree
Showing 18 changed files with 1,076 additions and 211 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@

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

#### :sparkles: 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

#### :beetle: 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

#### :pencil: 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).

- - -

Expand Down
6 changes: 5 additions & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

- Windmill
- Creative Commons License attribution: Windmill animated model by https://sketchfab.com/data3anshow
from https://sketchfab.com/3d-models/windmill-animated-6ce5667e8d5c47068ea13196036efd52
from https://sketchfab.com/3d-models/windmill-animated-6ce5667e8d5c47068ea13196036efd52

- Glacier d'Argentiere
- Attribution, no License specified: Glacier model by https://github.com/jbbarre
from https://github.com/jbbarre/glacierargentiere/blob/main/data/glacier_wgs.gltf
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Only in this fork, there is a list of new features implemented on top of the ama
- Support for Object3D embedded animations, and custom animations on AnimationManager (i.e. embedded animation + translate + rotate).
- Support for multi-layer and multi-floor design of spaces.
- Support for built-in shadows and real Sun light positioning for a given datetime and lnglat coords.
- Support for built-in Sky layer synced with real Sun light.
- Support for built-in Mapbox v2 Sky and Terrain layer synced with real Sun light.
- Support for Non-AABB Non Axes Aligned Bounding Box and real model size, including floor projection.
- Support for Object3D auto-centering and 9 default anchor positions customizable through adjustments.
- Support for `setLayerZoomRange` and `setLayoutProperty` on Custom Layers (not available in Mapbox).
Expand Down
3 changes: 3 additions & 0 deletions ThreeboxSolution.njsproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<Content Include="examples\16-multilayer.html" />
<Content Include="examples\17-azuremaps.html" />
<Content Include="examples\20-game.html" />
<Content Include="examples\21-terrain.html" />
<Content Include="examples\geojson\extrusion.geojson" />
<Content Include="examples\geojson\indoor-3d-map.geojson" />
<Content Include="examples\images\3dbuildings.jpg" />
Expand All @@ -109,11 +110,13 @@
<Content Include="examples\images\performance.jpg" />
<Content Include="examples\images\raycaster.jpg" />
<Content Include="examples\images\stylechange.jpg" />
<Content Include="examples\images\terrain.jpg" />
<Content Include="examples\images\tube.jpg" />
<Content Include="examples\images\vuejs.jpg" />
<Content Include="examples\models\history\elephant.glb" />
<Content Include="examples\models\history\triceratops.fbx" />
<Content Include="examples\models\landmarks\eiffel.glb" />
<Content Include="examples\models\landmarks\glacier.gltf" />
<Content Include="examples\models\landmarks\libertystatue.glb" />
<Content Include="examples\models\landmarks\spaceneedle.glb" />
<Content Include="examples\models\plane\plane.glb" />
Expand Down
Loading

0 comments on commit 8729407

Please sign in to comment.