Commit Graph

5242 Commits

Author SHA1 Message Date
Ylva Selling
4e9fcbbd8d Restructrure header file to make it more readable and make duration and resolution properties 2023-02-02 12:29:25 -05:00
Ylva Selling
d42d7da38e Cleanup - removal of unnecessary variables 2023-02-02 11:33:46 -05:00
Ylva Selling
95233f6c40 Remove tile cache 2023-02-02 11:33:33 -05:00
Ylva Selling
2534c4a604 Add animationmode realtime looping 2023-02-02 11:18:29 -05:00
Ylva Selling
ea3f9149c3 Make video stretching work 2023-02-01 17:55:59 -05:00
Ylva Selling
d4f6e4fbcd Update asset 2023-01-30 15:57:42 -05:00
Ylva Selling
4bb161cbc3 Add better comments for libmpv flags and do some cleanup 2023-01-30 14:46:18 -05:00
Ylva Selling
73fe0d6a00 Add missing enum property 2023-01-30 10:31:25 -05:00
Ylva Selling
4b3a518f49 Seek the correct time before rendering 2023-01-27 09:39:13 -05:00
Ylva Selling
043a4280ca Decouple frame time from libmpv and frame time from OpenSpace. Play back video at 24 fps 2023-01-25 18:44:17 -05:00
Ylva Selling
374af5669d Tiny cleanup 2023-01-20 11:45:44 -05:00
Ylva Selling
05970745d2 Fix issues with deadlocks with libmpv and flickering
Commented out the stretching of the video for now
2023-01-20 11:44:23 -05:00
Ylva Selling
d75b63686b Rename FfmpegTileProvider to VideoTileProvider 2023-01-19 11:19:05 -05:00
Ylva Selling
8167d47421 Fix small bug 2023-01-18 18:11:23 -05:00
Ylva Selling
da83acdef5 Remove unnecessary member variables 2023-01-18 18:08:42 -05:00
Ylva Selling
e3c7d782bd Make tiles get correct part of texture for ffmpegtileprovider 2023-01-18 18:08:18 -05:00
Ylva Selling
cf95a9f35f Split chunkTile function in two in tileprovider and make it virtual 2023-01-18 18:05:28 -05:00
Ylva Selling
90a0c3b131 Cleanup & remove unneccesary class variables 2023-01-18 18:04:43 -05:00
Ylva Selling
ff40138e9b Update asset 2023-01-17 11:19:17 -05:00
Ylva Selling
f11e1469b4 Merge branch 'feature/video-on-globe' of https://github.com/OpenSpace/OpenSpace into feature/video-on-globe 2023-01-17 10:13:11 -05:00
Malin E
2d78909ea2 Use mpv_get_property_async instead of the non async version 2023-01-17 10:13:02 +01:00
Ylva Selling
b709c96627 Update video asset 2023-01-13 12:41:25 -05:00
Ylva Selling
61824c1f7d Add some initialization values, print meta data and get resolution of video 2023-01-13 12:16:28 -05:00
Ylva Selling
9b843080f7 Request debug messages 2023-01-13 12:01:08 -05:00
Ylva Selling
62a1cac673 Request log messages 2023-01-13 12:00:39 -05:00
Malin E
0cd4a70ff3 Fix deinitialize exception 2022-12-21 10:47:19 +01:00
Malin E
4ba97bde52 Sync video with OpenSpace time 2022-12-21 10:31:12 +01:00
Malin E
a2bbc44410 WIP something renders on the globe! 2022-12-20 17:31:15 +01:00
Malin E
a70e058eda WIP use libmpv instead of ffmpeg to render video tiles 2022-12-19 13:26:45 +01:00
Ylva Selling
90840001d9 Testing to read the video with libmpv and rendering it to OpenGL. Currently not working 2022-12-13 14:57:55 -05:00
Ylva Selling
f233043f98 Working naive example 2022-12-12 16:00:01 -05:00
Ylva Selling
33c4180e96 Add libmpv and create some functions to test that the linking works 2022-12-12 15:07:24 -05:00
Malin E
a132d5f48b Remove bounce mode for video playback 2022-11-28 15:48:30 +01:00
Malin E
adbd1362a2 Rework frame index calculation + Debug checks 2022-11-28 15:41:27 +01:00
Malin E
2f07d5d3f9 Merge branch 'master' into feature/video-on-globe 2022-11-28 13:09:38 +01:00
Alexander Bock
44e5b17ec9 Global pass over the code to remove trailing spaces 2022-11-22 21:06:52 +01:00
Ylva Selling
cf35d78eaa Create first draft of animation modes 2022-11-11 15:35:52 -05:00
Malin E
89ae484fbe Speed up decoding of video (hopefully) 2022-11-08 14:33:35 +01:00
Ylva Selling
7b85209dfc Mark functions in header file as const as well 2022-11-07 16:06:34 -05:00
Ylva Selling
2dc6ecb1ae Mark functions as const as adressed in PR comment 2022-11-07 13:00:24 -05:00
Ylva Selling
bab3c78cf2 Add target node id to skybrowser topic 2022-11-07 12:53:30 -05:00
Ylva Selling
e04ccdd15d Merge remote-tracking branch 'origin/master' into issue/2093 2022-11-07 12:37:35 -05:00
Alexander Bock
12bb47c71e Recalculate chunk bounding boxes when the settings of a heightlayer change (closes #2096)
* Correctly calculate Offset when negative numbers are involved
* Adds tile index layer for the Moon
* Remove empty spaces
2022-11-07 15:45:54 +01:00
Alexander Bock
5cedb26336 Build fix for CMake 3.24.3 2022-11-07 13:46:45 +01:00
Malin E
e561694eca Add Tracy zones 2022-11-07 11:53:53 +01:00
Malin E
fd27b63f4b Disable touch interaction while in a Camrea path or Session recording 2022-11-04 14:03:26 +01:00
Malin E
715022a278 Add property to dissable zoom and roll interaction for touch 2022-11-04 13:57:43 +01:00
Ylva Selling
fb539b953e Create another mode for target dragging to work in dome 2022-11-01 14:36:19 -04:00
Emma Broman
81634ed996 Provide GDAL error message when failing to load dataset for layer 2022-11-01 11:32:27 +01:00
Alexander Bock
6249fa6d89 Collection of a number of changes (#2286)
* Cleanup Property code
* Remove NOLINT statements
* Return Property class types as string_view
* Remove getStringValue function
* Simplify string value retrieval
* Ensure that image paths in the ImageSequenceTileProvider are sorted (closes #2205)
* Some cleanup of OpenSpaceEngine
* Cleanup documentation
* Some more cleanup of engine classes
* Some more cleanup
* Update SGCT repository
* Use new Jenkins node identifiers as the old method broke with update
2022-10-30 12:54:14 +01:00