Commit Graph

335 Commits

Author SHA1 Message Date
ElonOlsson f0c14910c8 small fixes 2021-06-15 11:39:55 -04:00
ElonOlsson 020250e248 out comment json and cache stuff from fluxnode renderable 2021-06-09 15:53:44 -04:00
ElonOlsson 514fb8b898 modernized fieldlinessequence with codegen etc. 2021-06-03 15:45:44 -04:00
ElonOlsson ba0ec1808b finish merge and update with codegen 2021-05-27 09:18:32 -04:00
ElonOlsson d96f12396f merge + codegen doc return 2021-05-26 11:00:50 -04: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
Alexander Bock 6cf6e450fb Address MacOS compile issues, make ISS model scene graph node visible 2021-05-25 17:50:31 +02:00
ElonOlsson 1bbe681621 removed module Fluxnodes, added renderables to base and space. 2021-05-24 18:53:26 -04:00
Alexander Bock 63e9deab5f Feature/stars (#1598)
* Add the ability to remap SPECK variables to usage values
2021-05-23 00:42:44 +02:00
Alexander Bock 205d4c9db1 Feature/speck loader (#1585)
* Implement a shared speckfile loader
* Apply new speck loader to RenderableBillboardsCloud, RenderablePlanesCloud, RenderablePoints
2021-05-17 13:59:54 +02:00
Alexander Bock 92432caed2 Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string 2021-05-17 00:23:15 +02:00
Alexander Bock ccdc5a5dc3 Feature/filesystem cleanup (#1587)
* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
2021-05-16 20:26:49 +02:00
Alexander Bock 2aa540a112 Feature/interactionsphere (#1561)
* Add ability to render the bounding sphere as a debug option
* Separate boundingsphere and interactionspheres
* Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
2021-04-26 13:13:36 +02:00
Emma Broman 91387d8401 ListProperties and SelectionProperty (#1558)
* Reimplement stringlistproperty with a listproperty parent class

* Add string list property tests and structure test files

* Reimplement SelectionProperty and add tests

* Some TemplateProperty documentation updates

* Read full constellation name and not just first word for ConstallationSelection

* Remove support for setting property value from string (unused)

* Add IntListProperty, DoubleListProperty

* Bug fix: SetProperty topic now support empty json objects

* Imgui renderings for list properties and pass SelectionProperty  info to WebGui
2021-04-19 16:10:36 +02:00
Alexander Bock d9a1a0233b Remove apple clang warnings 2021-03-30 22:12:53 +02:00
Alexander Bock e88650f22c Tiny coding style fixups 2021-03-27 23:49:02 +01:00
Emma Broman 29e77534c7 Make use of new verifiers (Color and File) (#1510)
* Use codegen for renderable discs

* Utilize color and file verifier

* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +01:00
Alexander Bock cb5929972a Don't call RenderableOrbitalKeplers's initializeGL only once 2021-02-18 22:42:17 +01:00
Gene Payne f4e7d01aa7 Fixes for Issue #1409 (#1501)
* Fixed renderablesmallbody selective rendering props to accept asset file settings

* Set to only show selective rendering log info msg if render size is 1

* Mirrored selective rendering behavior from smallbody to satellites

* Added property coupling of values to satellite/asteroid render settings for size, start index, upperlimit

* Fix for selective rendering with synced render settings

* Removed redundant property definitions for codegen compliance

* Improvements to documentation and handling values spec'd in asset file

* Fix for satellites: selective rendering settings specified from assets
2021-02-17 12:41:05 -07:00
Alexander Bock dfa223abef Make use of std::filesystem::path and cleanup specification error messages 2021-02-13 12:00:26 +01:00
Emma Broman 39d5be5b17 Small habitable zone updates
* Show optimistic boundaries per default
* Shorten down interval UI name to make tooltip visible
* Increase interval for Kopparapu's formula
2021-02-09 15:10:59 +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
Emma Broman 85d63967c2 Show habitable zone teff interval in UI 2021-02-01 11:01:46 +01:00
Emma Broman ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Emma Broman d693dd0bbe Add rendering of optimistic vs conservative HZ boundaries 2021-01-26 15:09:23 +01:00
Emma Broman 968d0eea64 Move habitable zone renderable to space module 2021-01-26 15:09:23 +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 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
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
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
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