itowns 2.42.1-next.9 → 2.43.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +90 -0
- package/dist/debug.js +1 -1
- package/dist/debug.js.map +1 -1
- package/dist/itowns.js +1 -1
- package/dist/itowns.js.map +1 -1
- package/dist/itowns_widgets.js +1 -1
- package/dist/itowns_widgets.js.map +1 -1
- package/examples/{.eslintrc.js → .eslintrc.cjs} +1 -1
- package/examples/effects_stereo.html +2 -2
- package/examples/misc_collada.html +2 -2
- package/examples/source_stream_wfs_25d.html +11 -11
- package/examples/source_stream_wfs_3d.html +1 -1
- package/examples/view_25d_map.html +2 -2
- package/examples/view_3d_map.html +2 -2
- package/examples/view_3d_map_webxr.html +1 -1
- package/examples/view_3d_mns_map.html +2 -2
- package/examples/view_immersive.html +1 -1
- package/examples/view_multi_25d.html +2 -2
- package/examples/widgets_searchbar.html +2 -2
- package/lib/Controls/FirstPersonControls.js +5 -12
- package/lib/Controls/FlyControls.js +4 -13
- package/lib/Controls/GlobeControls.js +33 -43
- package/lib/Controls/PlanarControls.js +9 -20
- package/lib/Controls/StateControl.js +2 -11
- package/lib/Controls/StreetControls.js +14 -24
- package/lib/Converter/Feature2Mesh.js +28 -38
- package/lib/Converter/Feature2Texture.js +15 -25
- package/lib/Converter/convertToTile.js +16 -26
- package/lib/Converter/textureConverter.js +9 -19
- package/lib/Core/3DTiles/C3DTBatchTable.js +5 -13
- package/lib/Core/3DTiles/C3DTBatchTableHierarchyExtension.js +1 -8
- package/lib/Core/3DTiles/C3DTBoundingVolume.js +17 -27
- package/lib/Core/3DTiles/C3DTExtensions.js +1 -8
- package/lib/Core/3DTiles/C3DTFeature.js +3 -10
- package/lib/Core/3DTiles/C3DTilesEnums.js +3 -11
- package/lib/Core/3DTiles/C3DTileset.js +7 -16
- package/lib/Core/3DTiles/utils/BinaryPropertyAccessor.js +5 -11
- package/lib/Core/AnimationPlayer.js +2 -11
- package/lib/Core/Deprecated/Undeprecator.js +9 -20
- package/lib/Core/EntwinePointTileNode.js +6 -16
- package/lib/Core/Feature.js +16 -30
- package/lib/Core/Geographic/CoordStars.js +3 -12
- package/lib/Core/Geographic/Coordinates.js +12 -22
- package/lib/Core/Geographic/Crs.js +7 -15
- package/lib/Core/Geographic/Extent.js +36 -47
- package/lib/Core/Geographic/GeoidGrid.js +6 -16
- package/lib/Core/Label.js +7 -17
- package/lib/Core/MainLoop.js +7 -16
- package/lib/Core/Math/Ellipsoid.js +6 -17
- package/lib/Core/Picking.js +10 -20
- package/lib/Core/PointCloudNode.js +2 -11
- package/lib/Core/PotreeNode.js +4 -13
- package/lib/Core/Prefab/Globe/Atmosphere.js +17 -26
- package/lib/Core/Prefab/Globe/BuilderEllipsoidTile.js +6 -16
- package/lib/Core/Prefab/Globe/GlobeLayer.js +19 -28
- package/lib/Core/Prefab/Globe/SkyShader.js +2 -11
- package/lib/Core/Prefab/GlobeView.js +27 -45
- package/lib/Core/Prefab/Planar/PlanarLayer.js +11 -20
- package/lib/Core/Prefab/Planar/PlanarTileBuilder.js +6 -16
- package/lib/Core/Prefab/PlanarView.js +10 -25
- package/lib/Core/Prefab/TileBuilder.js +13 -22
- package/lib/Core/Prefab/computeBufferTileGeometry.js +12 -16
- package/lib/Core/Scheduler/Cache.js +2 -10
- package/lib/Core/Scheduler/CancelledCommandException.js +1 -8
- package/lib/Core/Scheduler/Scheduler.js +15 -23
- package/lib/Core/Style.js +24 -38
- package/lib/Core/System/Capabilities.js +2 -13
- package/lib/Core/TileGeometry.js +13 -15
- package/lib/Core/TileMesh.js +6 -15
- package/lib/Core/View.js +43 -58
- package/lib/Layer/C3DTilesLayer.js +29 -41
- package/lib/Layer/ColorLayer.js +10 -16
- package/lib/Layer/ElevationLayer.js +7 -14
- package/lib/Layer/EntwinePointTileLayer.js +9 -18
- package/lib/Layer/FeatureGeometryLayer.js +9 -16
- package/lib/Layer/GeoidLayer.js +6 -15
- package/lib/Layer/GeometryLayer.js +11 -17
- package/lib/Layer/InfoLayer.js +5 -14
- package/lib/Layer/LabelLayer.js +22 -32
- package/lib/Layer/Layer.js +16 -26
- package/lib/Layer/LayerUpdateState.js +1 -8
- package/lib/Layer/LayerUpdateStrategy.js +7 -18
- package/lib/Layer/OrientedImageLayer.js +15 -25
- package/lib/Layer/PointCloudLayer.js +9 -19
- package/lib/Layer/PotreeLayer.js +8 -18
- package/lib/Layer/RasterLayer.js +9 -17
- package/lib/Layer/ReferencingLayerProperties.js +1 -8
- package/lib/Layer/TiledGeometryLayer.js +37 -33
- package/lib/Main.js +87 -708
- package/lib/MainBundle.js +4 -34
- package/lib/Parser/B3dmParser.js +80 -131
- package/lib/Parser/CameraCalibrationParser.js +5 -14
- package/lib/Parser/GDFParser.js +11 -22
- package/lib/Parser/GLTFParser.js +88 -0
- package/lib/Parser/GTXParser.js +9 -21
- package/lib/Parser/GeoJsonParser.js +14 -22
- package/lib/Parser/GpxParser.js +7 -14
- package/lib/Parser/ISGParser.js +19 -28
- package/lib/Parser/KMLParser.js +7 -14
- package/lib/Parser/LASLoader.js +20 -21
- package/lib/Parser/LASParser.js +6 -15
- package/lib/Parser/MapBoxUrlParser.js +2 -9
- package/lib/Parser/PntsParser.js +4 -14
- package/lib/Parser/PotreeBinParser.js +8 -16
- package/lib/Parser/PotreeCinParser.js +3 -12
- package/lib/Parser/ShapefileParser.js +11 -18
- package/lib/Parser/VectorTileParser.js +23 -31
- package/lib/Parser/XbilParser.js +5 -13
- package/lib/Parser/deprecated/LegacyGLTFLoader.js +2 -12
- package/lib/Process/3dTilesProcessing.js +14 -27
- package/lib/Process/FeatureProcessing.js +14 -22
- package/lib/Process/LayeredMaterialNodeProcessing.js +14 -26
- package/lib/Process/ObjectRemovalHelper.js +2 -9
- package/lib/Process/handlerNodeError.js +1 -7
- package/lib/Provider/3dTilesProvider.js +32 -29
- package/lib/Provider/DataSourceProvider.js +2 -9
- package/lib/Provider/Fetcher.js +40 -22
- package/lib/Provider/PointCloudProvider.js +7 -19
- package/lib/Provider/TileProvider.js +4 -12
- package/lib/Provider/URLBuilder.js +4 -12
- package/lib/Renderer/Camera.js +7 -17
- package/lib/Renderer/Color.js +3 -11
- package/lib/Renderer/ColorLayersOrdering.js +14 -22
- package/lib/Renderer/CommonMaterial.js +3 -12
- package/lib/Renderer/Label2DRenderer.js +5 -16
- package/lib/Renderer/LayeredMaterial.js +33 -53
- package/lib/Renderer/OBB.js +12 -21
- package/lib/Renderer/OrientedImageCamera.js +2 -11
- package/lib/Renderer/OrientedImageMaterial.js +17 -35
- package/lib/Renderer/PointsMaterial.js +37 -60
- package/lib/Renderer/RasterTile.js +16 -29
- package/lib/Renderer/RenderMode.js +2 -9
- package/lib/Renderer/Shader/ShaderChunk.js +5 -23
- package/lib/Renderer/Shader/ShaderUtils.js +2 -9
- package/lib/Renderer/SphereHelper.js +2 -11
- package/lib/Renderer/WebXR.js +2 -11
- package/lib/Renderer/c3DEngine.js +20 -53
- package/lib/Source/C3DTilesGoogleSource.js +76 -0
- package/lib/Source/C3DTilesIonSource.js +6 -13
- package/lib/Source/C3DTilesSource.js +5 -12
- package/lib/Source/EntwinePointTileSource.js +12 -19
- package/lib/Source/FileSource.js +7 -14
- package/lib/Source/OrientedImageSource.js +6 -14
- package/lib/Source/PotreeSource.js +9 -16
- package/lib/Source/Source.js +26 -39
- package/lib/Source/TMSSource.js +11 -22
- package/lib/Source/VectorTilesSource.js +75 -34
- package/lib/Source/WFSSource.js +7 -14
- package/lib/Source/WMSSource.js +5 -12
- package/lib/Source/WMTSSource.js +3 -10
- package/lib/ThreeExtended/capabilities/WebGL.js +1 -8
- package/lib/ThreeExtended/libs/ktx-parse.module.js +2 -256
- package/lib/ThreeExtended/libs/zstddec.module.js +2 -8
- package/lib/ThreeExtended/loaders/DDSLoader.js +10 -16
- package/lib/ThreeExtended/loaders/DRACOLoader.js +14 -19
- package/lib/ThreeExtended/loaders/GLTFLoader.js +124 -129
- package/lib/ThreeExtended/loaders/KTX2Loader.js +73 -78
- package/lib/ThreeExtended/utils/BufferGeometryUtils.js +40 -59
- package/lib/ThreeExtended/utils/WorkerPool.js +2 -9
- package/lib/Utils/CameraUtils.js +32 -44
- package/lib/Utils/DEMUtils.js +8 -19
- package/lib/Utils/FeaturesUtils.js +8 -16
- package/lib/Utils/Gradients.js +3 -12
- package/lib/Utils/OrientationUtils.js +8 -18
- package/lib/Utils/ThreeUtils.js +2 -9
- package/lib/Utils/gui/C3DTilesStyle.js +7 -15
- package/lib/Utils/gui/Main.js +7 -48
- package/lib/Utils/gui/Minimap.js +12 -20
- package/lib/Utils/gui/Navigation.js +6 -14
- package/lib/Utils/gui/Scale.js +11 -19
- package/lib/Utils/gui/Searchbar.js +5 -13
- package/lib/Utils/gui/Widget.js +1 -8
- package/lib/Utils/placeObjectOnGround.js +13 -23
- package/package.json +13 -8
package/changelog.md
CHANGED
|
@@ -1,3 +1,93 @@
|
|
|
1
|
+
<a name="2.43.0"></a>
|
|
2
|
+
# [2.43.0](https://github.com/iTowns/itowns/compare/v2.42.0...v2.43.0) (2024-04-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* ESM distribution ([ab36885](https://github.com/iTowns/itowns/commit/ab36885))
|
|
8
|
+
* **gltf:** add a GLTFParser to parse gltf 1.0 and 2.0 files ([e6eb4cf](https://github.com/iTowns/itowns/commit/e6eb4cf))
|
|
9
|
+
* Remove WebGL1 support ([5bd5c32](https://github.com/iTowns/itowns/commit/5bd5c32))
|
|
10
|
+
* **TiledGeometryLayer:** layer can now hide skirt ([06c7181](https://github.com/iTowns/itowns/commit/06c7181))
|
|
11
|
+
* **VectorTileSource:** add support for multiple source ([c51e64a](https://github.com/iTowns/itowns/commit/c51e64a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **3dtiles:** fix tiles disappearing when zooming in and out ([c04e784](https://github.com/iTowns/itowns/commit/c04e784))
|
|
17
|
+
* **elevation:** Fix elevation layer removal from view ([4f361c3](https://github.com/iTowns/itowns/commit/4f361c3))
|
|
18
|
+
* **example:** migrate sources to IGN geoplateforme ([f6baf69](https://github.com/iTowns/itowns/commit/f6baf69))
|
|
19
|
+
* **examples:** fix new IGN VT style url ([17124ec](https://github.com/iTowns/itowns/commit/17124ec))
|
|
20
|
+
* **examples:** fix some issues with entwine planar example ([7d05a0f](https://github.com/iTowns/itowns/commit/7d05a0f))
|
|
21
|
+
* **examples:** migrate ign and grandlyon urls ([3f3ed82](https://github.com/iTowns/itowns/commit/3f3ed82))
|
|
22
|
+
* **Feature2Mesh:** fix proj on base alti ([49e48b5](https://github.com/iTowns/itowns/commit/49e48b5))
|
|
23
|
+
* **PointCloud:** fix precision error for entwinePointTileLayer ([bf38a72](https://github.com/iTowns/itowns/commit/bf38a72))
|
|
24
|
+
* **PotreeDebug:** fix oversight ([e5810d7](https://github.com/iTowns/itowns/commit/e5810d7))
|
|
25
|
+
* **RasterTile:** Fix RasterTile removeEvent when view.dispose is called ([33d0e8d](https://github.com/iTowns/itowns/commit/33d0e8d))
|
|
26
|
+
* **tutorials:** migrate urls to IGN geoplateforme ([5d324ca](https://github.com/iTowns/itowns/commit/5d324ca))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Performance Improvements
|
|
30
|
+
|
|
31
|
+
* **3dtiles:** fix loading time overhead due to internal structures pre-filling ([5d2f384](https://github.com/iTowns/itowns/commit/5d2f384))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Examples
|
|
35
|
+
|
|
36
|
+
* **ept:** Allow navigation on the pointcloud ([ec7ae6c](https://github.com/iTowns/itowns/commit/ec7ae6c))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Code Refactoring
|
|
40
|
+
|
|
41
|
+
* **babelrc:** add geojson and remove gltf from import extension ([dd3f80d](https://github.com/iTowns/itowns/commit/dd3f80d))
|
|
42
|
+
* **example:** entwine_simple_loader add use of param in url ([89d6fbd](https://github.com/iTowns/itowns/commit/89d6fbd))
|
|
43
|
+
* **Fetcher:** supp extent in parsed file ([1240db6](https://github.com/iTowns/itowns/commit/1240db6))
|
|
44
|
+
* **PointCloudLayer:** add new scheme and gradients to generate texture for use in the shader ([a557914](https://github.com/iTowns/itowns/commit/a557914))
|
|
45
|
+
* **source:** supp supportedFetchers and add Fetcher.get(format) ([9fa4cde](https://github.com/iTowns/itowns/commit/9fa4cde))
|
|
46
|
+
* **test:** add CanvasGradient in bootstrap.js ([99be96e](https://github.com/iTowns/itowns/commit/99be96e))
|
|
47
|
+
* **test:** add tests for Fetcher.js ([2fb3298](https://github.com/iTowns/itowns/commit/2fb3298))
|
|
48
|
+
* **test:** unit test clean up ([f6b6bf4](https://github.com/iTowns/itowns/commit/f6b6bf4))
|
|
49
|
+
* **test:** use sinon for multisource ([3b0709b](https://github.com/iTowns/itowns/commit/3b0709b))
|
|
50
|
+
* **unitTests:** use sinon to mock hidden itowns.Fetcher and add json file localy ([9dcfed3](https://github.com/iTowns/itowns/commit/9dcfed3))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Workflow and chores
|
|
54
|
+
|
|
55
|
+
* release v2.43.0 ([066e4e5](https://github.com/iTowns/itowns/commit/066e4e5))
|
|
56
|
+
* **coverage:** replace nyc by c8 ([f55ee06](https://github.com/iTowns/itowns/commit/f55ee06))
|
|
57
|
+
* **deps-dev:** bump express from 4.18.2 to 4.19.2 ([9be39b7](https://github.com/iTowns/itowns/commit/9be39b7))
|
|
58
|
+
* **deps-dev:** bump follow-redirects from 1.15.4 to 1.15.6 ([3163f5f](https://github.com/iTowns/itowns/commit/3163f5f))
|
|
59
|
+
* **deps-dev:** bump ip from 1.1.8 to 1.1.9 ([5d84b37](https://github.com/iTowns/itowns/commit/5d84b37))
|
|
60
|
+
* **deps-dev:** bump webpack-dev-middleware from 5.3.3 to 5.3.4 ([d53c1a5](https://github.com/iTowns/itowns/commit/d53c1a5))
|
|
61
|
+
* **deps:** bump copc and remove unecessary ignore of fs ([d4779cc](https://github.com/iTowns/itowns/commit/d4779cc))
|
|
62
|
+
* npm install [@xmldom](https://github.com/xmldom)/xmldom --save-dev ([1c8256c](https://github.com/iTowns/itowns/commit/1c8256c))
|
|
63
|
+
* npm install sinon --save-dev ([4d21c1e](https://github.com/iTowns/itowns/commit/4d21c1e))
|
|
64
|
+
* replace the CDN from unpkg to jsdelivr ([c7ff763](https://github.com/iTowns/itowns/commit/c7ff763))
|
|
65
|
+
* **scripts:** mark cjs scripts explicitely ([c6bae49](https://github.com/iTowns/itowns/commit/c6bae49))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Documentation
|
|
69
|
+
|
|
70
|
+
* **tutorials:** minor typo and syntax fixes ([7680ccf](https://github.com/iTowns/itowns/commit/7680ccf))
|
|
71
|
+
* **tutorials:** replace deprecated callback ([c6ba5fb](https://github.com/iTowns/itowns/commit/c6ba5fb))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Tests
|
|
75
|
+
|
|
76
|
+
* **wfs:** fix wfs to 25d example test ([1cb36a7](https://github.com/iTowns/itowns/commit/1cb36a7))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### BREAKING CHANGES
|
|
80
|
+
|
|
81
|
+
* - WebGL1 context is no longer supported.
|
|
82
|
+
* The itowns library drops the CommonJS distribution in favor of
|
|
83
|
+
a standard ECMAScript module (ESM) distribution.
|
|
84
|
+
* **3dtiles:** * C3DTFeature constructor parameters changed from
|
|
85
|
+
(tileId, batchId, groups, info, userData, object3d) to
|
|
86
|
+
(tileId, batchId, groups, userData, object3d)
|
|
87
|
+
* C3DTilesLayer.findBatchTable() is not exposed in the API anymore
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
1
91
|
<a name="2.42.0"></a>
|
|
2
92
|
# [2.42.0](https://github.com/iTowns/itowns/compare/v2.41.0...v2.42.0) (2024-02-05)
|
|
3
93
|
|