Skip to content

Commit

Permalink
Merge pull request #99 from CesiumGS/prepare-release-0.4.0
Browse files Browse the repository at this point in the history
Prepare release 0.4.0
  • Loading branch information
javagl authored Feb 6, 2024
2 parents 3464f07 + e35db65 commit 4f67b94
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 9 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
Change Log
==========

### 0.4.0 - 2024-02-06

- The 3D Tiles Tools have been split into multiple packages.
For users of the command-line interface, this should not make a noticable difference: The installed package declares all other packages as its dependencies, and installs them transparently.
Structurally, the packages are now organized as a 'monorepo', meaning that all packages are maintained in this repository, in a `packages` subfolder. Further details about the structure can be found in the updated [implementation notes](./IMPLEMENTATION.md).
- Improved the computation of bounding volumes in [#79](https://github.com/CesiumGS/3d-tiles-tools/pull/79)
- Some bounding volumes had been computed as bounding spheres or as non-tight-fitting oriented bounding boxes. By integrating the [dito.ts](https://github.com/Esri/dito.ts) library, it is now possible to compute tighter-fitting oriented bounding boxes for tile content ([#58](https://github.com/CesiumGS/3d-tiles-tools/issues/58)) and creating bounding boxes instead of bounding spheres when applying the `merge` command ([#69](https://github.com/CesiumGS/3d-tiles-tools/issues/69))
- Fixed a bug where `b3dmToGlb` left invalid "padding" bytes at the end of GLB data [#82](https://github.com/CesiumGS/3d-tiles-tools/issues/82)
- Added a `splitCmpt` function to split a composite (CMPT) file into its elements [#78](https://github.com/CesiumGS/3d-tiles-tools/issues/78)
- Extended the support for instanced 3D model (I3DM) files that used a URI to refer to an external GLB file [#45](https://github.com/CesiumGS/3d-tiles-tools/issues/45)
- Fixed a bug where the upgrade of batched 3D models (B3DM) into GLB files with metadata caused errors when the B3DM contained `null` or `undefined` strings in its batch table [#96](https://github.com/CesiumGS/3d-tiles-tools/pull/96)
- Fixed a bug where GLB files could not be processed (and caused crashes) when they did not contain a `BIN` chunk [#94](https://github.com/CesiumGS/3d-tiles-tools/pull/94)
- Extended the upgrade of legacy B3DM that contained glTF 1.0 data with oct-encoded (2D) normals. These normals are now decoded into 3D normals as part of the upgrade [#98](https://github.com/CesiumGS/3d-tiles-tools/pull/98)


### 0.3.2 - 2023-11-01

- The `upgrade` command is now removing empty `tile.children` arrays, setting the `children` to be `undefined` instead (via [#73](https://github.com/CesiumGS/3d-tiles-tools/pull/73))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ npx 3d-tiles-tools cmptToGlb -i ./specs/data/composite.cmpt -o ./output/extracte
Split a cmpt tile into its inner tiles. The output file name for each inner tile will be determined by appending a number to the given output file name, and an extension that depends on the type of the inner tile data.

```
npx 3d-tiles-tools cmptToGlb -i ./specs/data/compositeOfComposite.cmpt -o ./output/inner --recursive
npx 3d-tiles-tools splitCmpt -i ./specs/data/compositeOfComposite.cmpt -o ./output/inner --recursive
```

For an input file `compositeOfComposite.cmpt` that contains a composite tile that contains one B3DM and one I3DM content, this will generate the files `inner_0.b3dm` and `inner_1.i3dm` in the output directory.
Expand Down
8 changes: 4 additions & 4 deletions ThirdParty.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
"license": [
"Apache-2.0"
],
"version": "1.112.0",
"version": "1.114.0",
"url": "https://www.npmjs.com/package/cesium"
},
{
"name": "draco3d",
"license": [
"Apache-2.0"
],
"version": "1.5.6",
"version": "1.5.7",
"url": "https://www.npmjs.com/package/draco3d"
},
{
Expand Down Expand Up @@ -84,15 +84,15 @@
"license": [
"MIT"
],
"version": "8.17.0",
"version": "8.18.0",
"url": "https://www.npmjs.com/package/pino"
},
{
"name": "pino-pretty",
"license": [
"MIT"
],
"version": "10.2.3",
"version": "10.3.1",
"url": "https://www.npmjs.com/package/pino-pretty"
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/gltf-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"exports": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"dependencies": {
"@gltf-transform/core": "^3.2.1"
"@gltf-transform/core": "3.9.0"
},
"devDependencies": {
"typescript": "^4.8.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@3d-tiles-tools/base": "0.4.0",
"@3d-tiles-tools/metadata": "0.4.0",
"@3d-tiles-tools/tilesets": "0.4.0",
"@gltf-transform/core": "^3.2.1",
"@gltf-transform/extensions": "^3.2.1",
"@gltf-transform/functions": "^3.2.1",
"@gltf-transform/core": "3.9.0",
"@gltf-transform/extensions": "3.9.0",
"@gltf-transform/functions": "3.9.0",
"cesium": "^1.103.0",
"draco3d": "^1.5.6",
"gltf-pipeline": "^4.1.0",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"declaration": true,
"declarationMap": true,
"noImplicitAny": false,
"sourceMap": true,

"paths": {
"@3d-tiles-tools/structure": ["./packages/structure/"],
Expand Down

0 comments on commit 4f67b94

Please sign in to comment.