@jdultra/threedtiles 13.0.24 → 13.0.26
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
CHANGED
|
@@ -182,6 +182,19 @@ const ogc3DTile = new OGC3DTile({
|
|
|
182
182
|
});
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
+
#### PERLEVEL
|
|
186
|
+
|
|
187
|
+
PERLEVEL loading loads all required tiles of a given level before moving to the higher level of detail tiles.
|
|
188
|
+
|
|
189
|
+
To set the PERLEVEL loading strategy:
|
|
190
|
+
```
|
|
191
|
+
const ogc3DTile = new OGC3DTile({
|
|
192
|
+
url: "https://storage.googleapis.com/ogc-3d-tiles/ayutthaya/tileset.json",
|
|
193
|
+
renderer: renderer,
|
|
194
|
+
loadingStrategy: "PERLEVEL"
|
|
195
|
+
});
|
|
196
|
+
```
|
|
197
|
+
|
|
185
198
|
### load tiles outside of view
|
|
186
199
|
By default, only the tiles that intersect the view frustum are loaded. When the camera moves, the scene will have to load the missing tiles and the user might see some holes in the model.
|
|
187
200
|
Instead of this behaviour, you can force the lowest possible LODs to be loaded for tiles outside the view so that there are no gaps in the mesh when the camera moves. This also allows displaying shadows from parts of the scene that are not in the view.
|