Commit Graph

4197 Commits

Author SHA1 Message Date
Emma Broman
ef180eced3 Replace speed functions with distance based speed 2021-06-15 14:58:19 +02:00
Emma Broman
10b311ba64 Remove some TODO comments 2021-06-15 08:36:57 +02:00
Emma Broman
47aa7a64ae Improve ZoomOutOverview curve's "zoom out direction" 2021-06-14 14:50:09 +02:00
Emma Broman
dcebdd4806 Small tidying 2021-06-14 14:48:25 +02:00
Emma Broman
498ba2459a Only support CatmullRom splines 2021-06-10 15:34:52 +02:00
Emma Broman
62257513af Convert the ZoomOutOverviewCurve to a CatmullRom spline 2021-06-10 14:46:18 +02:00
Emma Broman
eee52487d4 Bring back Newton's method and use the interpolated sample as initial guess 2021-06-10 14:12:42 +02:00
Emma Broman
04ff080a34 Woops, stick to the same parameter for position and orientation
It broke the look at rotation :D
2021-06-09 17:12:42 +02:00
Emma Broman
d0c433ff10 Add support to pause and continue playing a path 2021-06-09 16:45:35 +02:00
Emma Broman
e1ada5ab88 Make sure relevant nodes list is being populated 2021-06-09 13:41:55 +02:00
Emma Broman
5f17e05dd1 Refactor and try to reduce confusion from parameter naming 2021-06-09 11:43:06 +02:00
Emma Broman
1d54a00a25 Reimplement arc length reparameterization using a map of (u, s) samples
Removes (or at least reduces) fluctuation in speed and avoids real time computations. Could eb improved by using something else than a linear interpolation between samples
2021-06-09 11:36:18 +02:00
Emma Broman
73bb375377 Solve a problem with precision errors related to the step size being too small 2021-06-08 16:54:21 +02:00
Emma Broman
5ceed48abc Remove some unused headers 2021-06-08 11:37:58 +02:00
Emma Broman
fc6e59ff97 Fix ifndefs in headers 2021-06-08 11:20:34 +02:00
Emma Broman
97e184a978 Just a little more 2021-06-08 11:14:06 +02:00
Emma Broman
d96bbda721 A little more 2021-06-08 10:49:58 +02:00
Emma Broman
9e566efcce More cleanup/restructuring 2021-06-08 10:25:18 +02:00
Emma Broman
3881f1f2fc Do some restructuring 2021-06-08 09:47:45 +02:00
Emma Broman
ff7301fbc7 Moore cleanup 2021-06-08 09:00:30 +02:00
Emma Broman
e6e28d0fe4 And yet more (remove some setting that was used for testing) 2021-06-07 14:43:08 +02:00
Emma Broman
d80408303a Yet more tidying 2021-06-07 14:12:41 +02:00
Emma Broman
50397cdafe Some more cleanup 2021-06-07 11:31:35 +02:00
Emma Broman
39c8f8283f Tiny refactor/cleanup 2021-06-04 16:03:43 +02:00
Emma Broman
7f9d8b8da6 Simplify speed function a bit (less object oriented) 2021-06-04 15:55:50 +02:00
Emma Broman
81b5821d0e Update copyright year 2021-06-04 15:34:31 +02:00
Emma Broman
0b65c798cd Rename instruction to pathinstruction 2021-06-04 15:15:46 +02:00
Emma Broman
fd9521db41 Remove support for multiple path segments
A "path" is now only one "segment"
2021-06-04 15:05:01 +02:00
Emma Broman
8a08fa43e4 Remove possiblity to add stops in between segments 2021-06-04 13:34:38 +02:00
Emma Broman
542078cc48 Another cleanup attempt 2021-06-03 17:04:21 +02:00
Emma Broman
9e1d93325f Start trying to refactor path creation and add documentation 2021-06-03 15:45:08 +02:00
Emma Broman
a6b8157bff Adapt to new master (filesystem changes) and cleanup slightly 2021-06-03 09:02:02 +02:00
Emma Broman
2ab51115b2 Merge branch 'master' into thesis/2019/camera-paths 2021-06-03 08:41:48 +02:00
Malin Ejdbo
59b3048c87 Remove posincrement 2021-05-31 16:26:51 +02:00
Malin Ejdbo
23abfa5ee3 Adjust labels 2021-05-31 16:19:25 +02:00
Malin Ejdbo
9f7b8aa32b Merge branch 'master' into feature/jwst
* Resolve conflict
2021-05-31 15:45:10 +02:00
Malin Ejdbo
31b834dbb2 Address PR comments 2021-05-31 15:34:54 +02:00
Emma Broman
a40e110fe9 Reduce risk of font rendering errors from user interaction (#1206 hotfix) (#1616)
* Allways load all glyphs immediately for GlobeLabelsComponent, to avoid errors on font loading
* Unify used font sizes, to avoid filling font atlas (especially for globes, as we now load all glyphs immediately)
* Make font size properties read-only, to prevent users from triggering these errors during runtime
2021-05-31 10:46:21 +02:00
Micah Acinapura
6fc0a598e7 add fixed time for spice translations, update insight asset to use (#1614)
* add fixed time for spice translations, update insight asset to use

* review cleanup
2021-05-30 13:09:58 -04:00
Alexander Bock
8c870384fc Haphazardly address #1455 by setting the stereo distance to some insane value but keeping the adaptive stereo separation 2021-05-30 16:59:04 +02:00
Alexander Bock
bac54732f9 Fix to properly support ImGui with exponents that caused an assertion in Debug mode 2021-05-30 16:45:37 +02:00
Alexander Bock
d08e2565ac Correctly filter the display methods not supported on MacOS 2021-05-29 20:21:22 +02:00
Alexander Bock
744ba0dc9b Feature/side by side (#1613)
* Make atmosphere, raycasting, and trails work with side_by_side stereo
2021-05-28 23:31:10 +02:00
Emma Broman
1695937749 Feature/numeric slider updates (#1609)
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties

* Add MinMaxRange ViewOption for Vec2 properties

* Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**)

* Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**)

* Add comments for some assets that have labels that are not working correctly


Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
2021-05-28 17:00:55 +02:00
Malin Ejdbo
0a1c842345 Some clean up 2021-05-28 13:26:47 +02:00
Alexander Bock
184ce70cf5 Clean up the layer support; Add additional configuration option to the globebrowsing customization file 2021-05-26 18:57:06 +02:00
Malin Ejdbo
b17952628c Adjust RenderablePrism to recent codegen change 2021-05-26 16:04:47 +02:00
Malin Ejdbo
4202b21ebc Merge branch 'master' into feature/jwst
* Resolve conflicts
2021-05-26 14:21:10 +02:00
Alexander Bock
63cbf270ee Adapt to changes in codegen that require specifying the identifier in the codegen::doc function 2021-05-25 23:10:12 +02:00
Alexander Bock
cb17bd7570 Remove warnings 2021-05-25 22:06:49 +02:00