@jdultra/threedtiles 9.0.0 → 9.0.1
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/README.md +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ NPM dependency: "@jdultra/threedtiles": "^8.0.0"
|
|
|
19
19
|
Adding a tileset to a scene is as easy as :
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
import { OGC3DTile } from
|
|
22
|
+
import { OGC3DTile } from '@jdultra/threedtiles';
|
|
23
23
|
|
|
24
24
|
...
|
|
25
25
|
|
|
@@ -166,7 +166,7 @@ The TileLoader takes an optional object as argument:
|
|
|
166
166
|
@param {renderer} [options.renderer] - The renderer, this is required for KTX2 support.
|
|
167
167
|
|
|
168
168
|
```
|
|
169
|
-
import { TileLoader } from
|
|
169
|
+
import { TileLoader } from '@jdultra/threedtiles';
|
|
170
170
|
|
|
171
171
|
const tileLoader = new TileLoader({
|
|
172
172
|
renderer: renderer,
|
|
@@ -213,6 +213,8 @@ It will be most beneficial on interior scenes where most of the data is occluded
|
|
|
213
213
|
|
|
214
214
|
First, instantiate an OcclusionCullingService:
|
|
215
215
|
```
|
|
216
|
+
import { OcclusionCullingService } from '@jdultra/threedtiles';
|
|
217
|
+
|
|
216
218
|
const occlusionCullingService = new OcclusionCullingService();
|
|
217
219
|
```
|
|
218
220
|
|
|
@@ -252,6 +254,8 @@ Each Tileset is independent in terms of it's position, orientation and level of
|
|
|
252
254
|
higher performance when displaying the same Tileset many times.
|
|
253
255
|
|
|
254
256
|
```
|
|
257
|
+
import { InstancedOGC3DTile, InstancedTileLoader } from '@jdultra/threedtiles';
|
|
258
|
+
|
|
255
259
|
// First create the InstancedTileLoader that will manage caching
|
|
256
260
|
const instancedTileLoader = new InstancedTileLoader(
|
|
257
261
|
scene,
|