Skip to content

Commit c9d943f

Browse files
committed
Update example paths
1 parent 2a8f863 commit c9d943f

5 files changed

Lines changed: 39 additions & 39 deletions

File tree

.github/workflows/examples-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Upload artifact
3636
uses: actions/upload-pages-artifact@v3
3737
with:
38-
path: .
38+
path: ./example/bundle
3939

4040
- name: Deploy to GitHub Pages
4141
id: deployment

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,36 @@ If a tileset or geometry does not load or render properly please make an issue!
1111

1212
# Examples
1313

14-
The following examples use **Three.js**. Babylon.js demos are also available for [Mars](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/mars.html) and [Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/googleMapsAerial.html).
14+
The following examples use **Three.js**. Babylon.js demos are also available for [Mars](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/mars.html) and [Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/googleMapsAerial.html).
1515

1616
See the [Three.js usage guide](./USAGE.md) or [Babylon.js usage guide](./src/babylonjs/renderer/README.md) for setup details with each engine.
1717

1818
| Example | Description |
1919
| --- | --- |
2020
| **Core** | |
21-
| [Dingo Gap Mars](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/mars.html) | Multiple tilesets |
22-
| [Kitchen Sink](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/index.html) | All options and features |
23-
| [VR](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/vr.html) | Rendering in VR |
21+
| [Dingo Gap Mars](https://nasa-ammos.github.io/3DTilesRendererJS/three/mars.html) | Multiple tilesets |
22+
| [Kitchen Sink](https://nasa-ammos.github.io/3DTilesRendererJS/three/index.html) | All options and features |
23+
| [VR](https://nasa-ammos.github.io/3DTilesRendererJS/three/vr.html) | Rendering in VR |
2424
| **External Tiles Providers** ¹ | |
25-
| [Cesium Ion 3D Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/ionExample.html) | Standard Cesium Ion tileset |
26-
| [Cesium Ion Lunar](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/ionLunar.html) | Lunar surface tiles |
27-
| [Cesium Ion Mars](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/ionLunar.html?mars) | Mars surface tiles |
28-
| [Google Photorealistic](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/googleMapsAerial.html) | Google Photorealistic Tiles |
29-
| [Google Globe](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/googleMapsExample.html) | Google Globe Tiles |
25+
| [Cesium Ion 3D Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/three/ionExample.html) | Standard Cesium Ion tileset |
26+
| [Cesium Ion Lunar](https://nasa-ammos.github.io/3DTilesRendererJS/three/ionLunar.html) | Lunar surface tiles |
27+
| [Cesium Ion Mars](https://nasa-ammos.github.io/3DTilesRendererJS/three/ionLunar.html?mars) | Mars surface tiles |
28+
| [Google Photorealistic](https://nasa-ammos.github.io/3DTilesRendererJS/three/googleMapsAerial.html) | Google Photorealistic Tiles |
29+
| [Google Globe](https://nasa-ammos.github.io/3DTilesRendererJS/three/googleMapsExample.html) | Google Globe Tiles |
3030
| **Customization** | |
31-
| [Custom Material](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/customMaterial.html) | Using a custom material |
32-
| [Offscreen Shadows](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/offscreenShadows.html) | Shadows from offscreen tiles |
33-
| [Texture Overlays](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/landformSiteOverlay.html) | Alternate texture overlays |
31+
| [Custom Material](https://nasa-ammos.github.io/3DTilesRendererJS/three/customMaterial.html) | Using a custom material |
32+
| [Offscreen Shadows](https://nasa-ammos.github.io/3DTilesRendererJS/three/offscreenShadows.html) | Shadows from offscreen tiles |
33+
| [Texture Overlays](https://nasa-ammos.github.io/3DTilesRendererJS/three/landformSiteOverlay.html) | Alternate texture overlays |
3434
| **Plugins** | |
35-
| [Metadata](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/metadata.html) | Tile metadata |
36-
| [Fade Transition](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/fadingTiles.html) | Tile LoD fade transition |
37-
| [Deep Zoom](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/deepZoom.html) | Deep Zoom Image format |
38-
| [TMS / XYZ](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/mapTiles.html) | TMS, XYZ map tiles |
39-
| [WMTS](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/wmtsTiles.html) | WMTS map tiles |
40-
| [WMS](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/wmsTiles.html) | WMS map tiles |
41-
| [Quantized Mesh](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/quantMeshOverlays.html) | Quantized mesh with overlays |
42-
| [Load Region](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/loadRegion.html) | Loading tiles in region volumes |
43-
| [GeoJSON](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/geojson.html) | GeoJSON overlays |
35+
| [Metadata](https://nasa-ammos.github.io/3DTilesRendererJS/three/metadata.html) | Tile metadata |
36+
| [Fade Transition](https://nasa-ammos.github.io/3DTilesRendererJS/three/fadingTiles.html) | Tile LoD fade transition |
37+
| [Deep Zoom](https://nasa-ammos.github.io/3DTilesRendererJS/three/deepZoom.html) | Deep Zoom Image format |
38+
| [TMS / XYZ](https://nasa-ammos.github.io/3DTilesRendererJS/three/mapTiles.html) | TMS, XYZ map tiles |
39+
| [WMTS](https://nasa-ammos.github.io/3DTilesRendererJS/three/wmtsTiles.html) | WMTS map tiles |
40+
| [WMS](https://nasa-ammos.github.io/3DTilesRendererJS/three/wmsTiles.html) | WMS map tiles |
41+
| [Quantized Mesh](https://nasa-ammos.github.io/3DTilesRendererJS/three/quantMeshOverlays.html) | Quantized mesh with overlays |
42+
| [Load Region](https://nasa-ammos.github.io/3DTilesRendererJS/three/loadRegion.html) | Loading tiles in region volumes |
43+
| [GeoJSON](https://nasa-ammos.github.io/3DTilesRendererJS/three/geojson.html) | GeoJSON overlays |
4444

4545
¹ Requires a [Google Tiles API Key](https://developers.google.com/maps/documentation/tile/3d-tiles) or [Cesium Ion API Key](https://cesium.com/platform/cesium-ion/)
4646

TESTCASES.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Verify that an error is logged stating that the tileset could not be found just
202202

203203
#### steps
204204

205-
1. Open the kitchen sink example with a midtile with broken content by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-broken-root-content.json).
205+
1. Open the kitchen sink example with a midtile with broken content by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-broken-root-content.json).
206206
1. Set the error threshold as high as it goes.
207207
1. Click rebuild.
208208

@@ -214,7 +214,7 @@ Verify an error is logged stating that the root tile content could not be loaded
214214

215215
#### steps
216216

217-
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-no-root-content.json).
217+
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-no-root-content.json).
218218
1. Set the error threshold as high as it goes.
219219
1. Click rebuild.
220220

@@ -226,7 +226,7 @@ Verify that the tileset still renders correctly.
226226

227227
#### steps
228228

229-
1. Open the kitchen sink example with a remote tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#https://raw.githubusercontent.com/NASA-AMMOS/3DTilesRendererJS/master/example/data/tileset.json).
229+
1. Open the kitchen sink example with a remote tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#https://raw.githubusercontent.com/NASA-AMMOS/3DTilesRendererJS/master/example/data/tileset.json).
230230

231231
#### expected
232232

@@ -236,7 +236,7 @@ Verify the tileset loads correctly and tehre are no errors in the console.
236236

237237
#### steps
238238

239-
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-no-root-content.json).
239+
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-no-root-content.json).
240240
1. Slowly move the tileset offscreen by right clicking and dragging the view.
241241

242242
#### expected
@@ -264,7 +264,7 @@ Verify that the stats display 125 geometries, 126 textures, and 1 programs.
264264

265265
#### steps
266266

267-
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-no-root-content.json).
267+
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-no-root-content.json).
268268
1. Set `colorMode` to `RANDOM_COLOR`.
269269

270270
#### expected
@@ -287,7 +287,7 @@ Verify the tileset loads correctly and there are no missing chunks or errors in
287287

288288
#### steps
289289

290-
1. Load `tileset-external-broken.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-external-broken.json).
290+
1. Load `tileset-external-broken.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-external-broken.json).
291291
1. Zoom in and out.
292292
1. Set target error to `0`.
293293

@@ -299,7 +299,7 @@ Verify that the external tileset does not load but the rest of the tileset conti
299299

300300
#### steps
301301

302-
1. Load `tileset-external.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-external.json).
302+
1. Load `tileset-external.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-external.json).
303303
1. Zoom in and out.
304304
1. Set target error to `0`.
305305
1. Ensure external tileset has loaded by running `tiles.root.children[0].children[0].children` in the console and verifying it's not empty.
@@ -315,7 +315,7 @@ Verify all steps happen as written.
315315

316316
#### steps
317317

318-
1. Load `tileset-external.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-external.json).
318+
1. Load `tileset-external.json` in the kitchen sink example [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-external.json).
319319
1. Zoom in and out to load in tiles.
320320
1. Set target error to `0`.
321321
1. Open render stats display.
@@ -330,7 +330,7 @@ Verify that the total geometries in the render stats display is still "220".
330330

331331
#### steps
332332

333-
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/three/#../data/tileset-add.json).
333+
1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/three/#../data/tileset-add.json).
334334
1. Set `colorMode` to `RANDOM_COLOR`.
335335
1. Set `maxDepth` to 2 so two layers are displayed on top of eachother.
336336
1. Click the color that represents the root tile and ensure depth is logged as "0".

src/babylonjs/renderer/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Implementation of the TilesRendererBase class for Babylon js.
44

5-
[Dingo Gap Mars dataset](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/mars.html)
5+
[Dingo Gap Mars dataset](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/mars.html)
66

7-
[Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/googleMapsAerial.html)
7+
[Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/googleMapsAerial.html)
88

99
[Google Photorealistic Tiles + Geospatial Camera Demo](https://demos.babylonjs.com/3d-tiles/)
1010

@@ -21,8 +21,8 @@ The current implementation has the below limitations:
2121

2222
| Link | Description |
2323
| --- | --- |
24-
| [Dingo Gap Mars](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/mars.html) | Uses ArcRotate camera. Example code in example/babylonjs/index.js |
25-
| [Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/babylonjs/googleMapsAerial.html) | Uses GeospatialCamera. Example code in example/babylonjs/googleMapsAerial.js |
24+
| [Dingo Gap Mars](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/mars.html) | Uses ArcRotate camera. Example code in example/babylonjs/index.js |
25+
| [Google Photorealistic Tiles](https://nasa-ammos.github.io/3DTilesRendererJS/babylonjs/googleMapsAerial.html) | Uses GeospatialCamera. Example code in example/babylonjs/googleMapsAerial.js |
2626

2727

2828

src/r3f/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Set of components for loading and rendering 3D Tiles in [@react-three/fiber](htt
44

55
**Examples**
66

7-
[Basic example](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/r3f/basic.html)
7+
[Basic example](https://nasa-ammos.github.io/3DTilesRendererJS/r3f/basic.html)
88

9-
[Cesium Ion example](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/r3f/ion.html)
9+
[Cesium Ion example](https://nasa-ammos.github.io/3DTilesRendererJS/r3f/ion.html)
1010

11-
[Google Photorealistic Tiles example](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/r3f/globe.html)
11+
[Google Photorealistic Tiles example](https://nasa-ammos.github.io/3DTilesRendererJS/r3f/globe.html)
1212

13-
[Tile Flattening Plugin example](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/r3f/flattening.html)
13+
[Tile Flattening Plugin example](https://nasa-ammos.github.io/3DTilesRendererJS/r3f/flattening.html)
1414

1515
# Use
1616

0 commit comments

Comments
 (0)