Skip to content

VCityTeam/UD-AugmentedModel-IMU

Repository files navigation

UD-AugmentedModel-IMU

Installation

npm i

Build and run

In dev mode:

npm run build-dev
npm run host

In prod mode:

npm run start

The demo will be hosted on:

  • Digital: localhost:8000/digital
  • Tangible: localhost:8000/tangible

Configuration

The content of the demo (3DTiles layers, themes, guided tours and slide shows) can be configured with the JSON files described below.

3DTiles layers

3DTiles layers can be configured in 3DTiles_STS_data.json and 3DTiles_temporal.json.

Each layer in 3DTiles_STS_data.json must contain:

  • an id
  • a name
  • a list of versions, where each version has:
    • an id
    • a date
    • an url to a 3DTiles tileset (without temporal extension)

Each layer in 3DTiles_temporal.json must contain:

Themes

Themes can be configured in themes.json. A list of themes can be linked to a dataset with a dataId (must be the ID of a 3DTiles layer). A theme allows to link a guided tour, a slide show and dates.

Each theme must have:

  • an id
  • a name
  • a slideShowId (the ID of a slide show of slide_show.json)
  • a guidedTourId (the ID of a guided tour of guided_tour.json)
  • a list of dates in ascending order

Slide show

Slide shows can be configured in slide_show.json.

To configure the slide show, see the widget doc.

An additional canvasConfig can be used to configure the size and the position of the slide show canvas:

{
  "slides": ["..."],
  "canvasConfig": {
    "position": {
      "x": 1841453.5,
      "y": 5173061,
      "z": 0.1
    },
    "size": {
      "height": 26187,
      "width": 15828
    }
  }
}

Guided tour

Guided tours can be configured in guided_tour.json.

To configure a tour, see the guided tour documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •