Commit Graph

485 Commits

Author SHA1 Message Date
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
Jonathas Costa
65803e134d Issue/1447 (#1451)
* Fixed missing calls to OpenGL cache system.
2021-01-12 10:28:49 +01:00
Alexander Bock
29a76c7d33 Coding style pass on shader code 2021-01-02 21:11:13 +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
86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Alexander Bock
3f365d1b1c Add Oumuamua and Borisov to the asteroids profile
Add a check to the ssdb parser that checks for empty strings
2020-11-16 15:09:21 +01:00
Jonathas Costa
8ad757263f Added initial position (far away) in the g-Buffer position. (#1360)
* Added initial position (far away) in the g-Buffer position.
* Fixed bug with Sun's star and atmosphere.
2020-11-12 22:10:01 +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
fd16d67405 Merge branch 'master' into issue/1185
* Update to master
2020-10-28 16:23:40 +01:00
Micah Acinapura
d7f799da63 Load psf texture on init so its readey for rendertime (#1356) 2020-10-28 14:24:37 +01:00
Alexander Bock
efffc25ce0 Feature/globals handling (#1352)
* Cleaner handling of global state
* Prevent Lua memory corruption (closes #982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup
2020-10-21 22:30:05 +02:00
Alexander Bock
1eea6eedeb Prevent crash when setting a PSF texture for Stars that didn't exist (closes #1222) 2020-10-20 23:46:42 +02:00
GPayne
df22eeb657 Fix for logging of asteroids data file error (downgrade to 'info') 2020-10-14 20:19:13 -06: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
2cca451898 Coding style adaptations
Adapt to changes in Ghoul
2020-08-25 13:47:03 +02:00
Jonathas Costa
f0c397d6be Merged maste. Changed code in multiple places to have the new memory pool working on linux (experimental yet). 2020-08-20 15:34:40 -04:00
Jonathas Costa
393fbdca3d OpenGL State Caching. 2020-07-31 15:59:28 -04:00
Jonathas Costa
d138bd97a9 Removed commented code. 2020-06-30 12:08:03 -04:00
Jonathas Costa
607a13da31 Added new Renderbin PostDeferredTransparency and PreDeferredTransparency. Fixed trails definitions when needed and satellites too. 2020-06-30 12:05:07 -04:00
Alexander Bock
8f090cfeab Added property for line width to the renderable contellation bounds (closes #1214) 2020-06-24 11:06:14 +02:00
Micah
f82a0d14ad aded time range to voyager rotations; disabled spice exceptions by default; updated space module to read spiceexpection value; 2020-06-05 16:42:31 -04:00
GPayne
fe0cce1e24 Fix for leap year that can affect asteroids only 2020-04-20 11:23:50 -06:00
GPayne
fbd5d3490a Leap year time fix for satellite tracking 2020-04-19 23:47:30 -06:00
Alexander Bock
5a94c486f0 Removing warnings 2020-04-14 22:32:26 +02:00
Alexander Bock
f1fe2f197b General code cleanup 2020-04-14 15:48:58 +02:00
Alexander Bock
4f14e8476b Some code cleanup 2020-04-14 15:00:37 +02:00
GPayne
29d68897d6 Added to satellites: group selection feature, segments fix 2020-04-13 16:43:27 -06:00
GPayne
b5114bd4fd Finalized segments algorithm and added object selection 2020-04-13 00:56:12 -06:00
Alexander Bock
ba9012f5a9 Some cleanup of the code 2020-04-10 18:18:54 +02:00
GPayne
a95d01d781 Implemented num orbital trail segments proportional to eccentricity 2020-04-09 13:33:30 -06:00
GPayne
cf7fcd9f03 Deleted UpperLimitInfo from satellites because only smallbody uses it 2020-03-24 17:20:49 -06:00
GPayne
4cfd51a268 Merged with master to prepare for pull request 2020-03-20 17:56:10 -06:00
GPayne
bdf859cd3c Modified sbdb file read to handle line errors while keeping other data lines 2020-03-20 17:27:39 -06:00
GPayne
d347733234 Fixed documentation errors to finish consolidating satellite/sbdb code 2020-03-11 10:09:23 -06:00
GPayne
88a5dfe6b2 Resolved build errors from combining satellites & SBDB renderables 2020-03-10 14:13:17 -06:00
GPayne
0c70ee7a2d Combining satellite & sbdb renderables under a common base class 2020-03-09 15:08:51 -06:00
Gene Payne
754a7735f9 Issue/1097 (#1098)
* Added pre-2000 date tests to globebrowsing timequantizer

* Merge with latest master

* Added checks to enforce 0.0 - 360.0 range on angles in JPL Horizons data
2020-03-09 10:43:25 -06:00
GPayne
dbf78b1862 Fix for printing out correct line number if read error occurs 2020-03-04 12:17:06 -07:00
GPayne
b222bb26db Fixed upper limit bug and added new asset details to main asteroid belt 2020-03-02 15:45:52 -07:00
GPayne
ce79a7031e Implemented upper limit on objects to render from data file 2020-02-28 16:16:06 -07:00
GPayne
048665e35e Added checks to enforce 0.0 - 360.0 range on angles in JPL Horizons data 2020-02-26 13:34:33 -07:00
GPayne
addfa65fa6 Merge with latest master 2020-02-19 09:25:33 -07:00
Alexander Bock
5e29145395 Coding style cleanup 2020-02-14 19:37:06 +01:00
Alexander Bock
43851899c7 Cleanup of more copyright headers
Add debug groups and object names to the OpenGL objects in the framebuffer renderer
2020-02-13 14:59:13 +01:00
Alexander Bock
de24e81bda Fix copyright header information
Remove TimelineView application
2020-02-12 22:36:11 +01:00
Alexander Bock
3355e85385 All stars to be rendered with a fixed color (closes #910) 2020-02-12 22:02:10 +01:00