Commit Graph

4652 Commits

Author SHA1 Message Date
Alex 3653083ece Fixed an issue with macOS and depth texture filtering 2022-10-27 11:55:23 +03:00
Alex a3c444a102 Fixed compile error 2022-10-27 09:55:44 +03:00
AlexandruPopovici 7199cea0d5 Merge branch 'main' into alex/sao-progressive 2022-10-27 09:48:18 +03:00
AlexandruPopovici 72307927cc Implemented relative dynamic progressive AO kernel size 2022-10-27 09:34:38 +03:00
AlexandruPopovici f18f7b5372 Fixed an issue with converging progressive pipeline when using a trackpad 2022-10-25 22:38:29 +03:00
AlexandruPopovici 5a324d48f2 Fixed conflicts 2022-10-25 22:04:49 +03:00
AlexandruPopovici 3d770f754c Some fixes and added dynamic AO back in at half res 2022-10-25 22:00:48 +03:00
AlexandruPopovici 6c35f6c50a Disabled normal texture rendering for dynamic AO 2022-10-25 19:24:04 +03:00
AlexandruPopovici ffd8b4d894 Added switching between perspective and linear depth when going from dynamic AO to progressive AO, so we don't have to integrate linear depth buffer sampling in the already existing features 2022-10-25 19:07:55 +03:00
Iain Sproat 564b5dc5fb Bump docker images (#1148) 2022-10-25 16:12:24 +01:00
Iain Sproat 8aa7f51d27 Revert "chore(dockerfile): bump Dockerfile base image versions (#974)" (#1146)
This reverts commit 6d6264c779.
2022-10-25 15:43:29 +01:00
AlexandruPopovici 01bb086047 Extended the camera controller class and added/changed a few things so that the controller doesn't mess up our camera movement and also we now rely on the events sent by it to determine stationary vs dynamic camera scenarios. This way we spare the rendered from having to determine camera movement deltas by itslef(only to have it ruined by the camera controller anyway) 2022-10-25 17:37:12 +03:00
Kristaps Fabians Geikins 9860be7fd8 fix: various dependabot vulnerability fixes (#1143)
* fix: updating minimist to resolve vulnerability

* fix: upgrade mocha to fix minimatch vuln

* fix: terser vuln fix

* fix: moment.js vuln fix

* fix: getting rid of perfect toolbar (which resolves vulns)
2022-10-25 17:01:20 +03:00
Iain Sproat 6d6264c779 chore(dockerfile): bump Dockerfile base image versions (#974) 2022-10-25 14:35:43 +01:00
Iain Sproat 8255015696 Adds gitguardian ggshield pre-commit hook (#912)
* Adds gitguardian ggshield pre-commit step
* Intended to be run locally and not in CI
* Updates gitguardian config to version 2
2022-10-25 13:41:00 +01:00
dependabot[bot] ce2624760c chore(deps): bump undici from 5.5.1 to 5.8.2 (#1142)
Bumps [undici](https://github.com/nodejs/undici) from 5.5.1 to 5.8.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.5.1...v5.8.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 11:47:40 +01:00
Iain Sproat b2ca83efc5 fix(package.json): upgrades commitizen to ^4.2.5 (#1139)
Upgrades directly referenced commitizen to ^4.2.5, which includes version 1.2.6 of minimist

https://github.com/specklesystems/admin/issues/358
2022-10-25 11:33:15 +01:00
dependabot[bot] e26b67d1b2 chore(deps): bump file-type from 16.5.3 to 16.5.4 (#1082)
* chore(deps): bump file-type from 16.5.3 to 16.5.4

Bumps [file-type](https://github.com/sindresorhus/file-type) from 16.5.3 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v16.5.3...v16.5.4)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updates yarn.lock

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2022-10-25 11:25:16 +01:00
Kristaps Fabians Geikins 55c736118b feat(frontend): share buttons directly on commit cards + batch commit actions UX improvements (#1122)
* feat(frontend): help message for disabled checkboxes on commit cards

* refactor: share-stream-dialog cleanup

* refactor: further share-stream-dialog prep for more usages

* feat(server): sharing directly from commit grid cards

* feat(server): sharing directly from commit list cards

* refactor: removing unnecessary dev tests
2022-10-25 13:16:33 +03:00
Kristaps Fabians Geikins 3f3f399ce6 feat(frontend): auto-focus on 1st comment in embed slideshow mode (#1109) 2022-10-25 12:57:19 +03:00
Alexandru Popovici 708f75e20d #Fixed 1104 (#1106)
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2022-10-21 15:54:29 +03:00
Alexandru Popovici a0a33a9bc1 Removed a lot of redundacy from the filtering manager's 'populateGenericState' function. There's still a lot left, but I think a more general solution is required for further speedups (#1133) 2022-10-21 15:37:29 +03:00
Iain Sproat d755136f19 Upgrade postgres in DO 1click template to 14.5 (#1090) 2022-10-21 09:51:50 +01:00
Alex 72f3850c9f Fix for the macOS artifacts using linear depth buffer and a bias value 2022-10-20 22:23:12 +03:00
Iain Sproat 4e71c41ae8 Removes the migration guide to speckle guides (#1131)
* removes the guide from this repository
2022-10-20 16:38:29 +01:00
AlexandruPopovici f33faf8475 Trying 24 bit encoding 2022-10-20 15:07:13 +03:00
AlexandruPopovici 60b2f260f9 Finally managed to get AO properly working with encoded linear depth 2022-10-20 14:56:13 +03:00
Iain Sproat c59084f4fd Upgrades redis to 7.0.5 in circleci & DO 1click configuration (#1087)
* Upgrades redis to 7.0.5 in docker-compose & circleci

* Upgrade redis on minikube to 7.0
2022-10-20 12:53:12 +01:00
Iain Sproat 07f7572c9d fix(helm chart): fileimport should be deployed if s3 configmap is used (#1129)
Fixes bug where fileimport-service was not deployed if an s3 configmap was used, instead of defining
s3 endpoint etc. in helm chart values
2022-10-19 16:43:12 +01:00
AlexandruPopovici e778637b94 Added ner and far camera planes controls to see how they're values change depth encoding precision 2022-10-18 22:12:02 +03:00
AlexandruPopovici 931190f738 Trying out a new float->RGBA encoding and decoding 2022-10-18 21:56:17 +03:00
AlexandruPopovici 43955c7f1e Trying to fix the issue with artifacts on progressive AO on mac. seems to be depth encoding related. Changed the depth pass to render to 32 float texture to check if the artifacts are gone 2022-10-18 21:25:36 +03:00
AlexandruPopovici bbce671b30 Some improvements to how we update the rendering pipeline and it's dynamic and progressive states 2022-10-18 17:04:10 +03:00
AlexandruPopovici 17692baab7 Dynamic AO at half res 2022-10-17 20:06:12 +03:00
AlexandruPopovici 3b80241289 Added configurable intensity to static AO. Fixed an issue with static scenario detection where the accumulation frames were ran twice in succession, because the 'camera controller' is probably clamping the angles to X decimal points at the end of a camera motion cycle, which in turn triggers a camera move larger than our defined epsilon 2022-10-17 15:21:51 +03:00
AlexandruPopovici 6eced47c44 Implemented interpolating during frame accumulation between the dynamic SAO and the static AO. This makes the transition much more smooth and seamless than simply jumping straight to the static AO which begins accumulating from 0 2022-10-17 14:32:00 +03:00
AlexandruPopovici 2a8ad84563 In the end I just implemented my own stationary/dynamic detection routine since the events sent from the 'camera controller' are dogshit 2022-10-17 11:33:35 +03:00
Matteo Cominetti 1f4dd333c0 Update SourceAppAvatar.vue (#1116) 2022-10-17 09:18:17 +01:00
Kristaps Fabians Geikins 5f48ae8086 feat(server): optimized command for importing commits from other servers (#1113) 2022-10-17 10:32:01 +03:00
AlexandruPopovici fe79c04f0f Accumulation frame count is now reset after a resize 2022-10-14 19:28:15 +03:00
AlexandruPopovici 5d895a96ff Intruduced accumulation frames properly at pipeline level. Cleaned up progressive AO shader and pass. Exposed the number of accumulation frames as well as the kernel size in the sandbox. 2022-10-14 19:26:26 +03:00
AlexandruPopovici 1a44a246ca Finished with displaying individual pipeline stages 2022-10-14 12:48:20 +03:00
AlexandruPopovici b5cfe00c04 A lot of changes. Pipeline rework is more or less complete. Added individual output for some pipeline passes that we might want to inspect inside the sandbox. 2022-10-14 00:36:33 +03:00
AlexandruPopovici 75a2a6ca93 Restructuring how the pipeline and it's passes work so we can extend/configure them more easily. Added the concept of SpecklePass 2022-10-12 18:59:07 +03:00
Kristaps Fabians Geikins 0379d370d5 fix(frontend): viewer activity broadcast request volume greatly reduced (#1107)
* fix(frontend): viewer activity broadcast request volume greatly reduced

* fix(frontend): app being loaded twice when running viewer in vite hmr
2022-10-12 17:44:33 +03:00
Iain Sproat 4b9f915bd3 docs(docker-compose): documentation to assist database upgrades of docker-compose (#1100)
Upgrading databases in postgres is not straightforward as the volume is often not compatible. It
requires creating a database backup, deleting the volume, deploying the upgraded version, and then
restoring from backup. This PR provides documentation and scripts to assist with this process.

Co-authored-by: Fabians <fabis94@live.com>
2022-10-12 11:43:59 +01:00
Jonathon Broughton 762a0e3c4f Merge pull request #1095 from specklesystems/jsdb/fix/1093
Fix: Remove old incorrect readme in viewer/src
2022-10-12 11:37:44 +01:00
AlexandruPopovici 20ddbea6f8 First draft of progressive AO with multiple selectable estimators. WIP on final implementation 2022-10-12 13:05:02 +03:00
Kristaps Fabians Geikins ca5cfaaf2b fix(frontend): comment link & attachment styling in both themes (#1102)
* Adding top-level ID to all v-app instances

* fix(frontend): comment link & attachment styling in both themes

* fix(frontend): some TS typing errors
2022-10-12 11:08:23 +03:00
Kristaps Fabians Geikins 718e0d6081 chore: securing apollo server cache against DDoS attacks (#1099)
* chore: securing apollo server cache against DDoS attacks

* enabling csrf protection
2022-10-11 13:35:00 +03:00