Files
speckle-server/packages/viewer-sandbox
Alexandru Popovici 1c78607942 Alex/#1347 Async Loading and Load cancelling (#1367)
* Implemented async walk for the world tree. Implemented asyn render tree building and async batch building. Implemented progressive loading

* WIP tree walk async that actually works using a generator

* Async walking now properly works and can be interrupted

* Properly working async walk

* Added loadObjectAsync function in the API which should be used if stream loading needs to be cancelled and for 'progressive' loading. Added a priority argument to the loadObjectAsync and to walkAsync functions which makes the async-iness so to speak configurable.

* Refactored the sync and async subtree batch building to remove duplicate code. Changed some logs for better clarity

* Fixed an issue with point clouds and material creation
2023-02-17 13:45:22 +02:00
..
2022-08-05 14:57:21 +03:00
2022-05-10 11:51:12 +03:00

@speckle/viewer-sandbox

Sandbox for testing, debugging & developing the viewer package.

Setup

Requirements

  • Node ^16

Setup Instructions

  • yarn in the repo root to configure project dependencies
  • yarn build in repo root to build all dependencies
  • yarn dev to run the sandbox, it's available at localhost:3033

Linting

Use yarn lint to run ESLint and you can also run yarn lint:tsc to lint with the TypeScript compiler