AlexandruPopovici
685751280d
Merge branch 'main' into alex/sao-progressive
2022-10-04 12:47:53 +03:00
Dimitrie Stefanescu
ca5fce8c14
chore(viewer): linting
2022-10-03 15:52:13 +01:00
Alex
f96e8c2dd2
Fixed the SAO artifacts on Chromium on MacOS #1065
2022-10-03 04:46:27 -07:00
AlexandruPopovici
bff8aef606
Started working on progressive sao
2022-10-03 11:29:55 +03:00
AlexandruPopovici
1f2fb5677f
Fixed an issue where the IBL probe intensity was not being set to 0 when requeted
2022-09-30 12:26:02 +03:00
AlexandruPopovici
d6795954fc
Fixed an issue where the camera far plane was incorrectly overriden
2022-09-30 12:15:12 +03:00
AlexandruPopovici
54bd645f6f
Real time switching between default and improved normals generation
2022-09-29 13:31:19 +03:00
AlexandruPopovici
df316ceddb
Implemented improved normal reconstruction for the SAO pass. This gets rid of the artifacts created by incorrect vertex normals
2022-09-28 15:18:44 +03:00
AlexandruPopovici
dcbfa448e9
We need to render both front and back faces to depth and normal passes for AO
2022-09-28 14:04:44 +03:00
AlexandruPopovici
5f169a2d23
SAO now takes the clipping planes into account
2022-09-27 14:04:16 +03:00
AlexandruPopovici
21b2e90622
Added RTE to the SAO pipeline
2022-09-27 13:55:17 +03:00
AlexandruPopovici
63714e9a17
Fixed an issue where line batches were rendered during the SAO passes and messing up the result. Fixed an existing issue where transparent ranges were shuffled before opaque ones
2022-09-27 13:15:24 +03:00
AlexandruPopovici
a47b7c8660
Merge branch 'main' into alex/sao
2022-09-27 11:31:33 +03:00
AlexandruPopovici
38113886a7
Projection matrix and it's inverse were not timely updated and caused the SAO output to be all black
2022-09-27 11:31:28 +03:00
Dimitrie Stefanescu
51dd6ac1da
Dim/viewer redux fixes ( #1022 )
...
* fix(viewer): closes #990
* fix(frontend): closes #1012
* fix(viewer): fixes #992
2022-09-27 11:16:00 +03:00
AlexandruPopovici
5d02fb2423
Fix for frontend which starts off the viewer with 0 width and heiht. This makes the framebuffers incomplete and errors are thrown. We now render to framebuffers only after we have a valid rendering size
2022-09-27 10:36:59 +03:00
AlexandruPopovici
c2d833026e
Implemented selective opqaue objects only rendering in the depth and normal render targets for AO computation. Batcher now allows for various isolation of objects based on whatever category using batch update ranges
2022-09-26 17:20:08 +03:00
AlexandruPopovici
0bd362e1ef
#1014 SAO WIP
2022-09-22 16:43:24 +03:00
Dimitrie Stefanescu
220d8da979
fix(viewer/frontend): fixes #995 (implements new selection event in fe)
2022-09-22 12:59:22 +01:00
AlexandruPopovici
c7c98a2e24
#1014 Started working on SAO
2022-09-21 18:50:20 +03:00
AlexandruPopovici
4cbf06a7f4
Merge branch 'main' into alex/#995
2022-09-21 13:37:50 +03:00
AlexandruPopovici
0b6a8afc27
refactor: restructured Selection Event
...
Selection Event now provides a list of ordered hits, each hit with it's guid, object and hit point
BREAKING CHANGE: Frontend will need to adjust according to the new SelectionEvent structure
#995
2022-09-21 13:33:24 +03:00
Alexandru Popovici
c84ba38cd8
Alex/#996 ( #1001 )
...
* fix: fixed #996
Shadows now respect clipping planes
#996
* fix: fixed #987
Fixed #987 and an additonal issue with null clipping planes
#987
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2022-09-09 15:29:21 +03:00
AlexandruPopovici
59be710e9c
Small change in queryHits so that hit points are always consistent with hit nodes
2022-09-08 16:55:29 +03:00
AlexandruPopovici
80ac7af6d2
fix: support for picking hit chain
...
The ViewerEvent now haw two (currently optional) members. hitChain which contains the ordered list
of speckle objects that were hit and hitPoints which holds the hit locations for all hit objects.
#995
2022-09-08 16:26:58 +03:00
AlexandruPopovici
b99a4afb18
fix: fixed #987
...
Fixed #987 and an additonal issue with null clipping planes
#987
2022-09-08 12:53:34 +03:00
AlexandruPopovici
d7142b344d
fix: fixed #996
...
Shadows now respect clipping planes
#996
2022-09-07 18:50:10 +03:00
Alexandru Popovici
c0b86208c9
Vsm artifacts ( #986 )
...
* Fixed the VSM artifacts by increasingthe bias for the sun's shadow. Now, that's the typical route for fixing shadow artifacts, however I did try to see what exactly was cauding the artifacts only on particular GPUs but couldn't find out. Additionally, I added two more controls in the sandbox, one for the shadow bias, and one for the shadow radius which controls the smoothness of the shadows
* Added step values for the new sliders
Co-authored-by: Alex <alexandru.popovici@busymachines.com >
2022-09-07 13:40:00 +03:00
AlexandruPopovici
20d15dd859
Fix #989
2022-09-07 12:55:01 +03:00
Dimitrie Stefanescu
227b847dee
feat(filtering): allows for "highlighting" objects using a ghosted material (useful for highlighting hidden objects)
2022-09-02 09:54:42 +03:00
Dimitrie Stefanescu
9a6bedc528
feat(viewer): adds default ghosting params for filtering ops
2022-09-01 20:51:03 +03:00
Dimitrie Stefanescu
95ede102eb
chore(viewer/frontend): determinstic (not that great) colors for string prop filtering
2022-09-01 13:09:36 +03:00
Dimitrie Stefanescu
018a0d7dab
chore(viewer/frontend): cleanup
2022-09-01 11:46:21 +03:00
Dimitrie Stefanescu
2aec2db884
chore(viewer/frontend): linting
2022-09-01 09:26:40 +03:00
Dimitrie Stefanescu
1cf34b0787
chore(viewer/frontend): removed legacy fm
2022-09-01 09:25:10 +03:00
Dimitrie Stefanescu
3929a1b9d9
feat(viewer/frontend): section box updates and persistance in url query
2022-08-31 15:42:20 +03:00
Dimitrie Stefanescu
82b4a56fac
feat(viewer/frontend): viewer real time user bubbles section box & filtering alignment
2022-08-31 12:58:58 +03:00
Dimitrie Stefanescu
3317f4b922
feat(viewer/frontend): section box controls fe
2022-08-31 10:37:17 +03:00
Dimitrie Stefanescu
27c9834d02
Merge branch 'dim/viewer-redux' into viewer-redux-integration
2022-08-30 19:38:56 +03:00
Dimitrie Stefanescu
c3381ae44d
feat(viewer/frontend): fixes various edge cases on numeric filters and filter props caching
2022-08-30 19:33:39 +03:00
Dimitrie Stefanescu
06c57d06fe
feat(viewer/frontend): setting filters from urls, num/cat + other fe<>viewer integration
2022-08-30 12:39:57 +03:00
AlexandruPopovici
1d38cd6db2
Small changes and fixes
2022-08-29 18:33:22 +03:00
AlexandruPopovici
2e0cb521f8
Removed internal handling of zoom-on-double click. Double clicking now just emits the double click event along with the selection info. Added simple implementation for sandbox and frontend
2022-08-29 11:52:08 +03:00
AlexandruPopovici
3813b7752a
Added two methods in the API for setting the section box dimensions, one based on inline box and another based on object ids. Removed internal section box dimension setting, this means that the clients need to set the section box size to whatever they want. Addd the feature when you would click on a section box face you can then drag it to resize the section box
2022-08-26 12:03:01 +03:00
AlexandruPopovici
afb86dca5c
Changed the zoom method to take speckle ids instead of guids, since everyother method in the API that takes ids, takes speckle ids
2022-08-26 10:56:24 +03:00
AlexandruPopovici
83a3a47c47
Implemented unified zoom function in the API which can either zoom on object selection, either zoom on the whole scene. Made some small changes to the SelectionEvent and DataTree which involves sending over the guids of nodes so that we can properly identify objects across the board
2022-08-25 18:57:00 +03:00
AlexandruPopovici
5dbbefcd19
Added PolarView, which allows us to rotate the camera using polar coordinates. This is used by the preview service currently
2022-08-25 17:04:09 +03:00
AlexandruPopovici
a85f76f5ca
Added DebugViewer which the sandbox uses so it can access stuff normally not available in the API, for testing and developement
2022-08-25 12:20:05 +03:00
Dimitrie Stefanescu
31c089b546
feat(viewer/frontend): latest changes
2022-08-25 11:17:43 +03:00
Dimitrie Stefanescu
f378d88c19
feat(viewer/frontend): extra integration legwork
2022-08-25 10:28:48 +03:00