229 Commits

Author SHA1 Message Date
Oscar Lorentzon
53781deffa chore: remove engine requirement
Avoid issues for depending packages on install.
2021-04-23 18:28:17 +02:00
Oscar Lorentzon
1f27813677 4.0.0-beta.0 2021-03-29 16:21:15 +02:00
Oscar Lorentzon
9c5f64f2b8 feat: overload viewer methods for type check and docs 2021-03-28 15:12:50 +02:00
Oscar Lorentzon
2eed0b3c9f chore: specify published files
Move types to dependencies for clarity.
Add advisory engines field.
2021-03-27 13:59:56 +01:00
Oscar Lorentzon
426f46326b chore: move configs to separate directory
Use module build in examples.
2021-03-25 16:48:40 +01:00
Oscar Lorentzon
8a22db63b0 chore: remove vulnerable cssnano module
This results in a css file size that is 25 kb
larger than before. We determine that it
is negligible compared to library usage
data size.
2021-03-22 12:39:26 +01:00
Oscar Lorentzon
a021b700dd fix: correct file name for dist style 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
d7417c0dde refactor: precompute camera matrix inverses
Improve performance for tags, popups, spatial,
render camera etc by avoiding costly
matrix inversion for each unproject.
2021-03-22 11:56:49 +01:00
Oscar Lorentzon
b562a0b06c chore: build with rollup
Migrate to Rollup.
Emit umd, minified umd, module, type declarations
and source maps.
Work around problems with Falcor by using
virtual module.

Migrate to Jest.
Run tests in with CommonJS modules becasue ES6
is not supported.
Work around dependency problems by bootstrap
to ensure they are not loaded during test.

Remove all unused dependencies.

Create state transition matrix to avoid
circular dependencies.

chore: tsc and rollup watch build
chore: incremental watch build
Remove unused dependencies.
chore: use existing type packages
chore: mock favicon
chore: improve watch build
chore: fix styles build
chore: specific commonjs build for tests
chore: reset spec files
refactor: explicit state transition matrix
chore: make src commands work
chore: working unit tests and lib
chore: add serve docs script
chore: remove unused bundle config
chore: refactor rollup config to avoid duplication
fix: falcor imports
fix: transition from source to target

Fixes #87
Fixes #100
Fixes #159
Fixes #208
2021-03-15 11:23:22 +01:00
Oscar Lorentzon
d4d8fb8bc2 chore: remove git hooks
Depend on GitHub branch protection instead of
Husky hooks.
2021-02-24 15:29:17 +01:00
Oscar Lorentzon
8e48b2939a chore: update dependencies to latest
Ingore Typedoc and Karma warnings about unsupported
peer versions because peers are at later versions
and building and testing works.
2021-02-24 15:29:17 +01:00
Oscar Lorentzon
15b0db262a chore: export shaders as strings
Remove brfs dependency and import shaders
directly as strings for simplification.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
37f25c808c chore: update typescript dependencies
Migrate to Typedoc 0.20 API.
Export namespaces explicitly for documentation
inclusion.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
743bee0fc9 chore: update dev dependencies
Use postcss directly in express server.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
f8a1484f18 chore: update dependencies
Refactor all implementations to use three.js
BufferGeometry after Geometry deprecation.
Use invert method instead of deprecated inverse
and getInverse methods.
Fix unit test with rect geometry and throw
clear error on faulty rect array length.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
6c48075cbe 3.1.0 2021-01-20 09:12:42 +01:00
Oscar Lorentzon
490eea6a7d 3.0.0 2020-12-10 10:48:25 +01:00
Oscar Lorentzon
cf65b0b2f5 docs: update contribution guide
Simplify contribution guide and add CLA.
Remove run keyword from yarn commands.
2020-11-26 15:41:27 +01:00
Oscar Lorentzon
92686fc3fb chore: add specific doc landing page
Adjust docs landing page to include only relevant
parts of readme.
Add favicon and footer legal info.
2020-11-13 22:54:50 +01:00
Oscar Lorentzon
8623757dc1 feat(api): add s2 geometry provider class 2020-10-16 15:09:37 +02:00
Oscar Lorentzon
5945acee13 chore: lint spec files when preparing 2020-10-07 21:36:38 +02:00
Oscar Lorentzon
1330066b5d chore: install deps through yarn 2020-09-21 16:58:49 +02:00
Oscar Lorentzon
c349a149af 2.21.0 2020-09-08 14:58:58 +02:00
Oscar Lorentzon
d7de2efeda chore: inline all svgs
Base64 encode svgs before inlining.
2020-09-07 21:18:30 +02:00
Oscar Lorentzon
a5a4c3c0cc chore: update threejs
Add workaround for shaking camera when matrix auto update
was turned off. Introduced when update to
https://github.com/mrdoob/three.js/releases/tag/r96 and
related to pull https://github.com/mrdoob/three.js/pull/14517.
2020-06-10 14:30:38 +02:00
Oscar Lorentzon
d6bfa06fc6 chore: update rxjs 2020-06-08 15:01:39 +02:00
Oscar Lorentzon
a4972660c0 chore: update rbush
Handle class export by creating types file.
2020-06-08 13:46:49 +02:00
Oscar Lorentzon
abefab84a2 chore: update polygon, zip, and pbf deps 2020-06-05 14:59:16 +02:00
Oscar Lorentzon
386d9cd3aa chore: update git hook lib 2020-06-05 12:22:17 +00:00
Oscar Lorentzon
e244ff83bf chore: update dev dependencies 2020-06-05 12:11:08 +00:00
Oscar Lorentzon
4188ac80f3 chore: remove unused watchify dependency 2020-06-05 11:01:19 +02:00
Oscar Lorentzon
e3e7fcf5e0 chore: update typescript 2020-06-05 09:36:47 +02:00
Oscar Lorentzon
b608c36861 chore: update unit test dependencies
Handle spec type problems.
2020-06-04 15:09:09 +02:00
Oscar Lorentzon
2664273328 chore: update typedoc dependencies 2020-06-03 12:33:10 +02:00
Oscar Lorentzon
f74eb4df7f feat: update typescript related dependencies 2020-06-03 12:15:54 +02:00
Oscar Lorentzon
75c391765d chore: update typescript
Update node types to comply with new typescript version
2020-06-02 14:16:58 +02:00
Oscar Lorentzon
2aff68f65f 2.20.0 2019-11-22 11:25:51 +01:00
Oscar Lorentzon
ed256e2ae4 2.19.0 2019-11-08 09:33:49 +01:00
Oscar Lorentzon
3c7cea9456 feat: api for caching nodes and cluster reconstructions 2019-11-08 09:06:25 +01:00
Oscar Lorentzon
6ecba4a10b 2.18.1 2019-09-20 09:33:51 +02:00
Oscar Lorentzon
8b6fc2f36e 2.18.0 2019-04-10 09:41:17 +02:00
Oscar Lorentzon
baef3e73fa 2.17.0 2019-03-01 13:06:52 +01:00
Oscar Lorentzon
47764b8905 2.16.0 2019-02-05 21:20:51 +01:00
Oscar Lorentzon
c91f6055aa 2.15.0 2019-01-14 10:36:36 +01:00
Oscar Lorentzon
73415db046 feat: spherical polygon triangulation
Triangulate polygons for panoramas in 2D domain. Divide
basic image in subareas, clip polygons to each subarea,
unproject and project to a plane related to each subarea.
Triangulate in 2D on the plane and use corresponding 3D
coordinates in traingles.
Shift regions by small value to avoid numerical issues.
Use 3 x 3 grid to avoid to complex polygon shapes.
2019-01-11 13:05:17 +01:00
Oscar Lorentzon
46592fadd0 2.14.1 2018-12-11 11:40:58 +01:00
Oscar Lorentzon
69e34ec40e fix: do not compress during minification
Fixes #283

Compressing during minification causes React and Angular
app production builds to throw error in Threejs
rendeBufferDirect method where a function is missing.
Removing compression causes about a 5 percent increase
in minified bundle size.
2018-12-11 08:33:40 +00:00
Oscar Lorentzon
4d4da2b1ac 2.14.0 2018-11-08 07:19:57 +00:00
Oscar Lorentzon
6a9d6d9949 docs: exclude protected and internal members
Exclude protected members with typedoc argument.
Exclude internal public members with jsdoc
ignore tag.
2018-11-08 06:51:45 +00:00
Oscar Lorentzon
14ed6b7537 chore: update dependencies
Keep Three.js att 0.95 because of incorrect movement
after upgrade to 0.96.
2018-10-08 09:54:44 +00:00