Commit Graph

39 Commits

Author SHA1 Message Date
Alexander Bock
6e29d898cf Update copyright header 2024-02-06 15:53:24 +01:00
Alexander Bock
455ee9335a Add a proper blackout to the ScreenSpaceRenderables and a property and codegen option to toggle that behavior (#2868) 2023-08-31 18:19:37 +02:00
Malin E
786c2887da Sphere maintenance (#2800)
* Split RenderableSphere class into a local and online sphere

* Make the video sphere derive from the regular sphere

* Make RenderableTimeVaryingSphere derive from RenderableSphere

* Some clean up

* Address PR comments
2023-08-07 11:47:32 +02:00
Ylva Selling
641c747f94 Rename the property in the video player to reload instead of reset, and add some more explanation 2023-06-14 10:52:33 -04:00
Alexander Bock
bb9a3e375d Add documentation for Video classes (closes #2732) 2023-06-09 11:25:52 +02:00
Malin E
ff805d334f Fix issue with atmosphere rendering on top of spheres 2023-05-26 16:34:38 +02:00
Alexander Bock
bde840ad03 Remove a bunch of compiler warnings
* Remove compile warnings
* Coding style fix
2023-05-16 11:59:28 +02:00
Alexander Bock
a5b8368b50 Fix bugs in videoplayer (#2678)
Remove from syncable list after destruction; only use one fbo; remove code no longer used

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-05-09 20:04:15 +02:00
Ylva Selling
d827d0a3c2 Add property for toggling looping of video 2023-04-27 11:29:49 -04:00
Ylva Selling
9e20326c25 Fix bugs that appeared when addressing comments in PR 2023-04-14 17:53:30 -04:00
Ylva Selling
5789d86dab Address comments on PR 2023-04-14 16:29:42 -04:00
Ylva Selling
a91a578945 Sync time of playback between nodes 2023-03-31 14:27:08 -04:00
Malin E
6ce5a170c0 Make RenderablePlane able to be rectangular 2023-03-28 11:53:09 +02:00
Malin E
c1e1b8b693 Add RenderableVideoPlane class 2023-03-22 16:09:06 +01:00
Malin E
b0c0ea81ab Make sure video player is initialized for each video renderable 2023-03-21 15:29:11 +01:00
Malin E
f62d0bb677 Make sure openGL state is reset after rendering globes 2023-03-21 13:53:05 +01:00
Ylva Selling
8a973ab3a7 Remove swap buffers call as it apparently is optional 2023-03-20 10:29:20 -04:00
Ylva Selling
afc9a0c1c7 Make seeking use set property with time-pos instead of command 2023-02-28 10:35:10 -05:00
Ylva Selling
4a617aa9eb Add set property function for doubles 2023-02-28 10:05:52 -05:00
Ylva Selling
cc4e92e7fb Move libmpv render function to update function 2023-02-27 11:22:05 -05:00
Ylva Selling
a6827ae8e6 Add syncable to syncengine & improve synchronization 2023-02-23 16:10:10 -05:00
Ylva Selling
6f0b7fbb53 Add synchronization between nodes for videoplayer 2023-02-22 14:56:14 -05:00
Ylva Selling
5ac1bb89e1 Cleanup 2023-02-21 18:53:49 -05:00
Ylva Selling
46016a19f5 Create maps to map keys with data in order to validate which formats and commands are usable with which keys 2023-02-21 18:05:24 -05:00
Ylva Selling
a68c8891ea Make renderable video sphere derive from renderable and copy code from renderablesphere 2023-02-16 14:21:59 -05:00
Ylva Selling
7154b6c4fa Move video stretching into video player 2023-02-16 12:04:13 -05:00
Ylva Selling
8d79e348b3 Move video properties to video player out of renderables 2023-02-16 11:48:43 -05:00
Ylva Selling
f4c216d673 Move properties from renderable to video player class 2023-02-16 11:41:25 -05:00
Ylva Selling
bb15f0efe0 Add functionality to mute video in video player and add properties in video player 2023-02-16 11:31:14 -05:00
Ylva Selling
56473c77e0 Change path into string since we can play youtube videos too 2023-02-15 17:59:27 -05:00
Ylva Selling
ce565a7002 Add reset to screen space video and renderable video sphere to be able to recover when it doesn't play 2023-02-15 15:55:06 -05:00
Ylva Selling
04c89fe887 Add video sphere 2023-02-15 15:45:14 -05:00
Ylva Selling
a257c813b3 Add screenspace video 2023-02-15 15:45:00 -05:00
Ylva Selling
821cc61083 Make removing layers work 2023-02-15 14:41:22 -05:00
Ylva Selling
7040c62e25 Make reset work 2023-02-15 14:32:16 -05:00
Ylva Selling
2ac910bfd6 Make stretching work again and fix some bugs with destroying mpv and format for pause 2023-02-15 14:08:08 -05:00
Ylva Selling
c01487458c Split videotileprovider and videoplayer into two classes 2023-02-15 10:55:23 -05:00
Ylva Selling
a61d98c268 Create video player class 2023-02-14 16:07:21 -05:00
Ylva Selling
8cb5bbf49a Move videotileprovider to video module 2023-02-14 15:38:47 -05:00