Emma Broman
d0fcec569c
Address stability problems for camera paths and make them more useful in general
...
* Change spline curve parameter interval from [0,1] to [0,nSegments], for slightly increased precision
* Use linear paths whenever precision isn't enough/paths are too long (and traverse linear paths differently, to make them less depending on the distance)
* Remove OrbitalNavigator.LinearFlight and instead add "Zoom to" helper functions (closes #1837 )
* Add check to prevent triggering awkward short paths, for example when flying to the current target or to the same geo position twice
* Refactor speed code and handle speed when path is shorter than start+closeup distance
* Add easing to speed dampening
* Add topic for engine mode (to be used for UI later)
* Cleaner log when creating paths (some previous info messages are now debug messages)
Related PR: OpenSpace/OpenSpace-WebGuiFrontend#70
2022-02-25 08:49:19 +01:00
Emma Broman
91b0581d39
Introduce engine modes to handle Camera path and session recording transitions
...
* Clarifies which system is control over time and camera at what time
* Fixes #1845
* Prevent invalid switching between session recoring and camera path playback
* Some cleanup, mosly of SessionRecording and NavigationHandler. Also, remove ExternInteraction and some other unused/nonexisting functions
2022-02-03 16:08:21 +01:00
Alexander Bock
d7d279ea16
Happy new year
2022-01-01 12:32:55 +01:00
GPayne
b00b900278
Get rid of some sessionrecording warnings
2021-09-22 15:58:59 -06:00
Emma Broman
bfe25c311b
Merge branch 'master' into thesis/2019/camera-paths
...
# Conflicts:
# src/rendering/abufferrenderer.cpp
2021-08-09 15:21:08 +02:00
GPayne
14af0e5a93
Time manager uses simulated application time during playback-with-frames
2021-07-11 14:43:54 -06:00
Emma Broman
16173d7afe
Merge branch 'master' into thesis/2019/camera-paths and resolve conflicts
...
# Conflicts:
# modules/globebrowsing/globebrowsingmodule.cpp
# modules/globebrowsing/globebrowsingmodule_lua.inl
2021-07-09 15:43:17 +02:00
Alexander Bock
8e5a7034ee
Add the ability to optionally ignore the scale value read from session recordings
2021-07-04 19:45:54 +02:00
Emma Broman
77bdfaefd6
Move camera path code into core and refactor navigation code a bit
2021-06-23 09:12:36 +02:00
GPayne
3f9ae245c7
Added loop playback option to repeat playback file
2021-05-20 19:06:39 -06:00
GPayne
fb739d719e
Restored support for session recording files in any directory
2021-05-20 12:44:29 -06:00
GPayne
5dfe4cb5c2
Added topic for new session recording pausing within playback
2021-05-20 12:09:11 -06:00
GPayne
413639e9fe
Fixed problems with pausing time and time management
2021-05-19 19:47:51 -06:00
GPayne
e95ca6c3e8
Fixed minor timing bugs while running full test of record/playback
2021-04-26 21:29:52 -06:00
GPayne
7371c5bd09
Fixes for tracking nodes that are used in a recording
2021-04-22 21:58:18 -06:00
GPayne
d012ee2fbb
Added preprocessing to reject recording if used scenegraphnodes are not loaded
2021-04-20 16:22:01 -06:00
GPayne
e94fbb2adf
Added reject lists for property and scripts during playback
2021-04-15 16:57:20 -06:00
GPayne
fbec2fe713
Updated save-to-disk when recording ends
2021-04-13 14:21:33 -06:00
GPayne
b00e1cc5ab
Switched to using timeline in memory during recording
2021-04-09 11:28:15 -06:00
Gene Payne
d060780f99
Added method for saving current value of a property while recording
2021-03-22 12:21:32 -06:00
GPayne
681d2fcd71
Merge master in
2021-01-06 20:59:31 -07:00
Alexander Bock
7004c02b86
Happy new year
2021-01-02 15:26:51 +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
Gene Payne
ba4e47b54e
First pass at interpolation fix during playback with screenshots
2020-12-08 19:55:09 -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
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
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
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
GPayne
9ba31ee082
Added code for conversion to binary format
2020-03-04 09:55:51 -07:00
GPayne
97e393b0f6
Added task code for conversion to ascii
2020-02-27 13:35:10 -07:00
Alexander Bock
d8e9db76a3
Update the copyright header to 2020
2020-02-10 21:51:01 +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