Commit Graph

2117 Commits

Author SHA1 Message Date
Emma Broman ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Emma Broman e90b52af93 Add wrapping mode to texture component 2021-01-26 15:09:24 +01:00
Emma Broman 2ae5a16697 Add option to purge texture from RAM after gpu upload 2021-01-26 15:09:22 +01:00
Emma Broman 72ebeb7f6f Add generic texture component for renderables 2021-01-26 15:08:37 +01:00
Emma Broman c075dbcdeb Add simple plane geometry class 2021-01-26 15:08:37 +01:00
GPayne 681d2fcd71 Merge master in 2021-01-06 20:59:31 -07:00
Jonathas Costa ee29a704af Removed assert with problems on GCC and clang. 2021-01-05 10:58:24 -05:00
Alexander Bock 3d74d6051e Remove Dictionary use in script scheduling with struct 2021-01-02 23:24:15 +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
Gene Payne 61aaf60825 Implemented pause-during-playback feature 2020-12-13 16:23:19 -07:00
Gene Payne 5ed85d8fcd Fix for property change interpolation during playback with screenshots 2020-12-11 12:40:22 -07:00
Alexander Bock 778b4e61b3 Revert "Better handle interpolation when setting interpolation time to 0"
This reverts commit 8cf5f96392.
2020-12-11 12:30:05 +01:00
Gene Payne ba4e47b54e First pass at interpolation fix during playback with screenshots 2020-12-08 19:55:09 -07:00
Alexander Bock eb69d2219a Restructure DashboardItems
- Add a new class DashboardTextItem that is a DashboardItem that can render text with font
2020-12-09 00:44:25 +01:00
Alexander Bock 8d3bf03db0 Some work on DashboardItems
- Add new DashboardItemText that displays a static text on screen (closes #1423)
 - Add the ability to change the format string to the DashboardItemDate, DashboardItemDistance, and DashboardItemSimulationIncrement
2020-12-08 23:44:24 +01:00
Micah Acinapura e2da387473 added spice frame info functions to spice manager (#1427)
* Added spice frame info functions to spice manager
2020-12-08 16:19:07 +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 51470c0a0d Issue/1355 (#1424)
* Move glfw init after macOS window is ready
* MacOS fixes for BigSur
* Compile fixs
* Rename hirise.asset since linux filenames are case-sensitive
* Modified globals DataStorage method to make Linux and Mac happy
* Switched to unsecure http URLs for satellites due to httprequest problem
* Keep the QApplication around on Mac because of some reason otherwise the keyboard handler crashes
* Add comment explaining the madness
* Apply same techniques to the globalscallback file

Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
Co-authored-by: Gene Payne <payne.gene@gmail.com>
2020-12-07 23:41:20 +01:00
Emma Broman 9a683bb29a Rename ScreenSpaceRenderable alpha to opacity (closes #1416) (#1421) 2020-12-05 23:22:24 +01:00
Alexander Bock 4786201fd9 MacOS fixes for BigSur 2020-12-01 09:08:37 -07:00
Gene Payne 876493c6dd Comment-only changes with instructions for bumping SessionRecording version 2020-11-30 21:38:54 -07:00
Alexander Bock 60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
GPayne 4de671e673 Fix for ascii files with windows line endings, or missing file extension 2020-11-25 13:34:50 -07:00
GPayne 0939c14639 Switched to stringstream of conversion input file, fixed binary read bug 2020-11-24 17:48:30 -07:00
GPayne 2c91c21be5 Temporarily block legacy versions, switched to using class member buffer 2020-11-23 00:14:15 -07:00
GPayne 3ba3d25a6b Changes to accept both unix and windows style path delimiters 2020-11-21 00:40:02 -07:00
GPayne 251c4d2317 Merging master into session recording changes for issue 1366 2020-11-20 10:32:58 -07:00
GPayne 763fb110d1 Removed a few obsolete functions 2020-11-19 20:23:59 -07:00
Gene Payne 822c3a2d26 Working session record conversions in tasks and OS application 2020-11-19 15:04:00 -07:00
Gene Payne 9c9f547a10 Some bug fixes for recursion problems 2020-11-18 10:20:38 -07:00
Gene Payne 76e82f273a Updates to header for sess rec legacy inherited class 2020-11-17 20:55:31 -07:00
Gene Payne ff433fd404 Added convert file format version sess rec task for taskrunner 2020-11-17 20:54:46 -07:00
Alexander Bock 8d7300a242 Add the ability to change the screenshot folder at runtime (#1172) 2020-11-16 14:22:56 +01:00
Alexander Bock 73d920d40d Make the linear speed dependent on the current framerate (closes #1369) 2020-11-16 14:00:18 +01:00
Alexander Bock 88f546ca7d Add property to disable joystickinput
Set that property to false by default to disable stray joystick input (closes #1370)
2020-11-16 11:36:16 +01:00
Gene Payne 86140d753e First draft of file format conversion ready for testing 2020-11-15 18:41:18 -07:00
Gene Payne e23e5cf16f First steps on session recording conversion 2020-11-13 22:40:35 -07:00
Alexander Bock b4951d6607 Add some rudimentary soft FPS cap 2020-11-13 17:12:12 +01:00
Micah Acinapura cc7c0092a3 Feature/meta identifier list (#1357)
Updating asset.meta.identifiers to be dictionary/list instead of string
2020-10-28 14:25:34 +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 8cf5f96392 Better handle interpolation when setting interpolation time to 0
Prevent NaNs from appearing when selecting a linear flight distance of 0 (closes #1329)
2020-10-21 00:53:12 +02:00
Alexander Bock 811a84df0f Fix issue where Wormhole server's script messages could not be decoded
Fix issue where dashboard item for parallel peer would not report line number correctly
Closes #1011
2020-10-19 17:48:16 +02:00
Alexander Bock d0aaaeb090 Merge remote-tracking branch 'origin/master' into feature/profile-gui
# Conflicts:
#	data/profiles/apollo8.profile
#	data/profiles/apollo_sites.profile
#	data/profiles/asteroids.profile
#	data/profiles/dawn.profile
#	data/profiles/default.profile
#	data/profiles/default_full.profile
#	data/profiles/gaia.profile
#	data/profiles/insight.profile
#	data/profiles/juno.profile
#	data/profiles/mars.profile
#	data/profiles/messenger.profile
#	data/profiles/newhorizons.profile
#	data/profiles/osirisrex.profile
#	data/profiles/rosetta.profile
#	data/profiles/touch.profile
#	data/profiles/voyager.profile
2020-10-13 16:32:58 +02:00
Alexander Bock 77907fc7df Rename ProfilesReadOnly -> ReadOnlyProfiles 2020-10-13 16:22:05 +02:00
Emma Broman 7e34e1b1d8 Resolve merge conflict 2020-10-12 09:30:51 +02:00
Emma Broman bf49ad76f2 Cleanup 2020-10-12 09:15:07 +02:00
Emma Broman 887fe5572d Merge pull request #1302 from OpenSpace/issue/1285
Issue/1285 - Add delta time steps to profiles and generate keybindings for number keys
2020-10-12 08:35:36 +02:00
Alexander Bock 4b26305340 Merge branch 'master' into feature/profile-gui
# Conflicts:
#	openspace.cfg
2020-10-11 11:18:45 +02:00