Commit Graph

57 Commits

Author SHA1 Message Date
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +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
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
ff433fd404 Added convert file format version sess rec task for taskrunner 2020-11-17 20:54:46 -07: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
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
01257d2fb2 Compile fix for Debug mode 2020-10-10 15:59:56 +02:00
Alexander Bock
d89c1e5c36 Some small code cleanups 2020-10-09 22:27:28 +02:00
Alexander Bock
de97a5520a Merge branch 'master' into feature/session-recording-improvements
# Conflicts:
#	include/openspace/network/messagestructures.h
#	src/interaction/sessionrecording.cpp
2020-10-09 22:10:40 +02:00
Gene Payne
3ee1a11257 Added support for comment line in ascii session recording file 2020-07-16 09:49:21 -06:00
Gene Payne
5a23ae35c8 Added file extensions for session recording files 2020-07-15 13:04:39 -06:00
Gene Payne
273e044647 Added handling of playback file that is too large for memory 2020-07-15 08:39:31 -06:00
Gene Payne
cd7be9b870 Conversion task working for both directions 2020-07-14 17:19:24 -06:00
Alexander Bock
ea95054bd2 Add the ability to render out the current recording time during a session recording 2020-07-02 16:37:11 +02:00
GPayne
1c108f99d3 Merged master into branch 2020-06-30 16:22:15 -06:00
Alexander Bock
d4218ad2fd Provide a default value of 60 for the export of the screenshot playback (closes #1134) 2020-04-14 11:20:02 +02:00
GPayne
97e393b0f6 Added task code for conversion to ascii 2020-02-27 13:35:10 -07:00
Alexander Bock
5e29145395 Coding style cleanup 2020-02-14 19:37:06 +01:00
Alexander Bock
d8e9db76a3 Update the copyright header to 2020 2020-02-10 21:51:01 +01:00
Alexander Bock
49c793d976 Update Ghoul version
Add initial Tracy profiling macros
2020-02-10 14:50:41 +01:00
Emil Axelsson
afb889ff82 Feature/serve screenshots (#1003)
* Take screnshots using lua function, returning screenshot number. Add screenshot endpoint.
* Change capitalization from screenShot to screenshot
* Fix screenshot filename collision bug when using multiple windows.
2019-11-01 10:41:59 +01:00
GPayne
88135c1db0 Fixed compile issues, now needs testing 2019-10-31 14:48:26 -06:00
GPayne
37924c2734 Finished separating script messages into separate read & parse steps 2019-10-29 19:23:34 -06:00
GPayne
ae5da23b04 Separated writing of time keyframes into separate read & parse steps 2019-10-28 15:56:27 -06:00
GPayne
915eefbf11 Working on separating writing of recording keyframes into separate read & parse steps 2019-10-24 13:06:52 -06:00
GPayne
a549993727 Finished time and script keyframe types into separate read & parse steps 2019-10-23 18:02:20 -06:00
GPayne
27ef369338 Separated playback keyframe extraction into steps (file read & parse) 2019-10-17 18:20:37 -06:00
GPayne
6a0ddea83a Merge branch 'feature/session-recording-improvements' of https://github.com/OpenSpace/OpenSpace into feature/session-recording-improvements 2019-10-11 11:47:22 -06:00
GPayne
299c4f10c4 Added some file handling to record conversion tasks 2019-10-11 11:45:55 -06:00
GPayne
5b4ecf2b62 Fixed timestamp problem with time rate script at start of recording 2019-09-05 14:56:11 -06:00
GPayne
1e426f3c46 Prevent changing the simulation time rate during playback 2019-09-04 11:10:08 -06:00
GPayne
40526b11a2 Added command to save current delta time when recording starts. 2019-08-30 16:57:48 -06:00
Alexander Bock
277aee5c0c Make constructor of Time explicit
Module breaking change
2019-07-17 15:39:43 +02:00
GPayne
1ca1c8165b Added fix to prevent starting a session recording/playback if another is already in progress. 2019-06-18 13:42:17 -06:00
Alexander Bock
d0c04cfc6b Various code cleanup 2019-06-18 10:47:15 +02:00
Alexander Bock
8f6520ea8f Feature/offline rendering (#906)
* Added functionality of saving out screenshots (with fixed FPS) from a recorded session during playback.
 * Test of feature to request if all data is ready to be rendered, primary used in GlobeBrowsing. Need to go over how chunkTiles are set to OK (some are never OK..).
 * Estimated having working request of checking if chunks with correct level have their color and height data loaded and ready to be rendered. Will re-enable frames saving and try making a movie.
 * Created adaptive LOD factor based on available/unavailable tile data (such that we don't run a lot of iterations with asking for a pile of data that does not fit in the tile cache).
 * Made it able to specify tile cache size in configurastion file. Renamed other Cache value to WMSCache, as we have the TileCache as well.
 * Fix for when focus node has nor renderable, when checking for if dersired data has been loaded. Should probably check all renderable/planets anyway, not just a focus object.
2019-06-18 10:15:35 +02:00
Alexander Bock
9f6733ed72 Misc cleanup in session recording 2019-05-23 03:03:04 -06:00
Micah Acinapura
0eabffe752 exposed renderable type to gui, fixed path for milkyway items (#866)
* exposed renderable type to gui, fixed path for miklyway items
* Changes to session recording topic
* Update webgui
2019-05-18 17:00:31 +02:00
Alexander Bock
514d6e6a78 Some minor cleanups in the session recording 2019-05-17 10:18:33 -06:00
Gene Payne
32ebea9e06 Latest changes to session recording with support for new webGUI record/playback controls (#840)
* Added separate directory for session recording files
* Changed recording & playback paths to use RECORDINGS dir and prevent absolute or relative paths in filename.
* Updated .gitignore so that recordings directory is ignored.
* Added session recording topic for synchronization of rec/play state with web gui.
* Added support to sessionRecording for providing a list of available playback files to web GUI.
* Fixed problem with playback filenames in list
* Fixed problem with occasional large jump in camera pos/rotation after playback finishes.
* Fixed the remaining post-playback problem that was causing a jump in position and rotation.
* Fix path issue on mac
* Fixed bug with bad scale values in recordings saved in ascii format.
2019-05-17 14:05:03 +02:00