Commit Graph

4676 Commits

Author SHA1 Message Date
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
Ylva Selling 01c393ab8b Fix so backend can handle layer ordering 2021-06-09 10:58:42 +02:00
Ylva Selling 86fbde2af8 Bugfix and better destruction of WWTDataHandler in module 2021-06-09 09:28:34 +02:00
Ylva Selling d3736aeb82 Change to use server instead of localhost for browsers, and fix some bugs 2021-06-08 19:20:42 +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
Malin Ejdbo b92ed4cafe Read Horizons file with double precision 2021-06-08 13:30:24 +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
Malin Ejdbo 257d3f8538 Update model bounding sphere to account for parent scale, closes #1630 2021-06-04 10:16:48 +02:00
ElonOlsson 514fb8b898 modernized fieldlinessequence with codegen etc. 2021-06-03 15:45:44 -04: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
Ylva Selling 2df2e45f85 Change name of function to move 3D browser to a better suited name for lua function 2021-06-03 11:27:45 +02:00
Ylva Selling 6d0efc99df Disable hover circle outside of solar system 2021-06-03 10:46:55 +02:00
Ylva Selling e3c0e286fe Add functionality to center target on screen, when it has been lost locked somewhere for example 2021-06-03 10:03:27 +02:00
Ylva Selling 0221ca1c20 Set browser to selected upon startup 2021-06-03 09:22:31 +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
Micah 235cd94a73 fix for shadow caster on renderable globe 2021-06-03 00:05:35 -04:00
Ylva Selling 111c719ed7 Cleanup: Rename function to better name and remove duplicates of code 2021-06-02 15:47:07 +02:00
Ylva Selling 8a49240930 Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-06-02 15:36:13 +02:00
Ylva Selling 8e8ac4e90e Initialize browsers with lua api and load image collections upon startup. Add 3D browser functionality 2021-06-02 15:35:07 +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
Ester Lindgren 3411662b74 Change target when zooming to be crosshair and border with crosshair 2021-05-27 17:32:19 +02:00