Commit Graph

90 Commits

Author SHA1 Message Date
Alexander Bock
6837bad5b0 Tiny cleanups 2021-02-17 16:18:08 +01:00
Alexander Bock
6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Malin Ejdbo
647ae18bef Fix reading of horizons files
* Take back initial "empty" loop to ignore header information
2021-01-14 14:48:30 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
067c0f4b27 Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul
 * Mainly replacing usage of float instead of doubles as expected
 * Adjust to the lack of the hasKeyAndValue function
2021-01-02 15:07:11 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Malin Ejdbo
33191aafcb More cleanup 2020-11-04 14:18:21 +01:00
Malin Ejdbo
b5df4fcb37 General cleanup 2020-11-04 08:35:02 +01:00
Malin Ejdbo
6b9170f5c0 Add caching of horizons files to optimize reading
* Remove line 104 in horizonstranslation.cpp to prevent double reading

* Add reading and writing of cached horizons files
2020-10-09 12:11:14 +02:00
Alexander Bock
74c1b6cad5 Remove memory allocation in SpiceTranslation due to copy constructor of StringProperty 2020-08-06 10:56:36 +02:00
Alexander Bock
c472ac131e Removing more dynamic memory allocations 2020-08-05 15:45:06 +02:00
GPayne
fbd5d3490a Leap year time fix for satellite tracking 2020-04-19 23:47:30 -06:00
Alexander Bock
f1fe2f197b General code cleanup 2020-04-14 15:48:58 +02:00
Alexander Bock
5e29145395 Coding style cleanup 2020-02-14 19:37:06 +01:00
Alexander Bock
c8799dcc80 Cherrypick remaining changes from the feature/catch2 branch sans the big switch to SGCT 3.0 2020-02-11 00:21:42 +01:00
Alexander Bock
d8e9db76a3 Update the copyright header to 2020 2020-02-10 21:51:01 +01:00
Alexander Bock
24ce773da9 Update GLM version
Correctly initialize all values as they are no longer default-initialized
2020-02-10 00:09:31 +01:00
GPayne
7e6a9b71fa Changed to standard position method for renderablesatellites 2019-08-15 16:13:41 -06:00
GPayne
39f4dc33cb Initial pass of merging satellite debris into master and switching satellites to use grouped scenegraphnodes. 2019-08-13 15:39:06 -06:00
GPayne
ba07837865 Merge branch 'thesis/2019/spaceDebris' into feature/satellitesgroupednodes 2019-08-13 09:56:51 -06:00
Emil Axelsson
c97d5126ec Feature/timeline translation (#931)
* Work on timeline translations
* Add Apollo 11 Descent data
* Ability to display negative altitudes
* Expose globe translation properties
* Added timeline rotation, and some scene updates. 
* Cleaning up apollo_sites scene; fixing boulder 1 in place to adress heightmap issue
* Use quaternion slerp instaet of linear interpolation + Cleanup
* Change to old lem model while waiting for new version to be pushed to data repo
* Small fixes
2019-07-17 15:21:13 +02:00
ElonOlsson
68f04031da merge after rebase 2019-05-31 09:58:44 -06:00
Elon
bd7ea04362 smooth movement, but position offset due to precision errors. Clean up in shaders 2019-05-30 11:06:25 -06:00
Elon
b9f20b7595 corrected datatype of timeOffset to make smooth movement in orbits 2019-05-30 11:06:24 -06:00
ElonOlsson
d26700268f - 2019-05-30 10:53:34 -06:00
Jonathan Fransson
c4a7e7f930 Fade almost done, issue with reading some data to the shader 2019-05-30 10:51:42 -06:00
Elon
b81db510de trying to figure out how to fade lines 2019-05-30 10:50:52 -06:00
Elon
1ed3bdadbe orbits rendered proporly 2019-05-30 10:47:54 -06:00
Elon
a9f14b8b26 mergeing elonsTest with renderableSatellites 2019-05-30 10:43:06 -06:00
Jonathan Fransson
d3563d95e2 Fixed readTLE 2019-05-30 10:42:35 -06:00
Elon
0affabdd9f use an alternative position function from keplerTranslation 2019-05-30 10:42:10 -06:00
Elon
7cf1277f1a started adding on calculatePosition. Does not complie yet 2019-05-30 10:42:10 -06:00
Elon
8447714f97 loop debris elements 2019-05-30 10:41:33 -06:00
Elon
9efb32e5cc mergeing elonsTest with renderableSatellites 2019-05-30 10:33:58 -06:00
Elon
4945be880d use an alternative position function from keplerTranslation 2019-05-30 10:33:15 -06:00
Jonathan Fransson
fc4f3fc6e9 Fixed readTLE 2019-05-30 10:32:13 -06:00
Elon
7ab7f0a7de started adding on calculatePosition. Does not complie yet 2019-05-30 10:31:52 -06:00
Elon
47f8e3e82a loop debris elements 2019-05-30 10:18:08 -06:00
Elon
a38635b2f0 appearance 2019-05-30 10:00:16 -06:00
Elon
9a4d41871b smooth movement, but position offset due to precision errors. Clean up in shaders 2019-05-29 16:17:35 -06:00
Elon
bba24a70f9 corrected datatype of timeOffset to make smooth movement in orbits 2019-05-24 15:41:10 -06:00
Jonathan Fransson
f621c06963 Fade almost done, issue with reading some data to the shader 2019-04-26 11:57:47 -06:00
Elon
f21edec80d trying to figure out how to fade lines 2019-04-24 17:12:07 -06:00
Elon
20fdc00527 orbits rendered proporly 2019-04-16 17:48:50 -06:00
Elon
0b10bd69be mergeing elonsTest with renderableSatellites 2019-04-10 14:06:34 -06:00
Jonathan Fransson
014e624258 Fixed readTLE 2019-04-10 14:05:57 -06:00
Elon
963e3e706b use an alternative position function from keplerTranslation 2019-04-10 14:03:35 -06:00
Elon
a06d4d0a0d started adding on calculatePosition. Does not complie yet 2019-04-10 14:03:35 -06:00
Elon
a41c5dbb82 loop debris elements 2019-04-10 13:56:16 -06:00