Commit Graph

5109 Commits

Author SHA1 Message Date
Ylva Selling 301dfafabf Change the traversal of texture so the full image is displayed correctly on the globe 2022-09-28 05:52:59 -04:00
Ylva Selling aec2baf7d1 Add caching for tiles 2022-09-28 05:12:52 -04:00
Malin E 80a0ae8f09 Split image into tiles when requested 2022-09-26 13:59:50 +02:00
Malin E 73fb5e5476 Only create tiles when they are requested 2022-09-22 11:16:34 +02:00
Ylva Selling 33c0fb7eb6 Fix some bugs so that the texture is showing again 2022-09-20 12:18:11 -04:00
Ylva Selling fbdf9acf37 Fix crash of sw_scale and change code so that the texture only changes its data, and is not created unique every frame 2022-09-20 12:04:51 -04:00
Malin E a0455bca70 Fix texture crashing 2022-09-20 14:04:38 +02:00
Malin E e04e06492f Try to create texture from a frame
* NOTE: It doesn't work yet
2022-09-16 14:44:39 +02:00
Ylva Selling c705e5336f Add a first attempt to make the avFrame a ghoul texture 2022-09-09 08:20:44 -04:00
Ylva Selling ae1dd8aa52 Make sure that the loading of video works and add test function to print the individual frames as images to files 2022-09-09 07:14:19 -04:00
Ylva Selling 406d58a02a Add check for dereferencing nullptr 2022-09-08 07:26:52 -04:00
Ylva Selling 81520c8ca1 Add videotilelayer to gpulayergroup 2022-09-08 07:26:23 -04:00
Ylva Selling 329de4f449 Add VideoTileLayer to the layer groups and the layers 2022-09-08 06:46:32 -04:00
Ylva Selling d4b1067d79 Merge branch 'feature/video-on-globe' of https://github.com/OpenSpace/OpenSpace into feature/video-on-globe 2022-09-08 03:45:19 -04:00
Ylva Selling 0ab35af535 Add test asset for video 2022-09-08 03:45:08 -04:00
Ylva Selling 27edca27f9 Move include directories to properties for more consistency 2022-09-08 03:40:07 -04:00
Malin E 3d5185ff5a Fix linker issues with ffmpeg 2022-09-07 16:09:43 +02:00
Ylva Selling 66b32c2b3d Add test code to ffmpegtileprovider update function 2022-09-07 03:49:01 -04:00
Ylva Selling c1c35e0f2a Update CmakeLists.txt with new try 2022-09-07 03:48:39 -04:00
Ylva Selling be0aa8592a Add ffmpegtileprovider to the module factory so it can be created like the other tileproviders 2022-09-07 00:24:31 -04:00
Malin E ac58e5374e Start unpacking frames with ffmpeg 2022-09-06 09:17:10 +02:00
Malin E a76518e225 Add loading of video with ffmpeg 2022-09-05 16:47:48 +02:00
Malin E 92f0458dd6 Add ffmpeg library and a base for the new tileprovider 2022-09-05 14:29:27 +02:00
Malin E 7b4b0ab202 Make the constellation lines data file a property 2022-08-31 13:44:31 +02:00
Malin E 719786452d Address some more PR commnets 2022-08-31 10:58:34 +02:00
Malin E 25782e25e9 Merge branch 'master' into feature/du-meshes-selection 2022-08-31 09:30:32 +02:00
Emma Broman 47b36e5036 Add multiply color to renderableorbitdisc 2022-08-30 13:06:14 +02:00
Malin E dc55105000 Move loading of data error handling 2022-08-29 13:13:47 +02:00
Malin E 53b2d0e76c Address some more PR comments 2022-08-29 11:44:21 +02:00
Malin E 41d52f7f04 Start addressing PR comments 2022-08-26 16:58:48 +02:00
Alexander Bock 664eb60f4f Increase the compile times by including more precompiled headers (#2217)
* Define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN globally
* Use forked version of TUIO, some more work on precompiled headers
* Improvements for the Kameleon module
2022-08-26 16:32:21 +02:00
Malin E 40267804bd Some clean up 2022-08-25 13:48:48 +02:00
Malin E 6aef6ebde4 Merge branch 'master' into feature/du-meshes-selection 2022-08-24 15:02:18 +02:00
Alexander Bock 979a5e3378 SkyBrowser Hash Handling (#2201)
* Add the loading of a hash for wwt image files and automatically force a redownload of the files if the hash has changed
* Move the wwtdataimages location into the sync folder
* Some general code cleanup
2022-08-22 15:16:07 +02:00
Malin E 5bdd3d0f8c Make the Constellations name file optional 2022-08-10 13:57:47 +02:00
Malin E 87a45e7376 Fix asset selection of constellations 2022-08-09 17:01:41 +02:00
Malin E ceaf85f606 Some more cleanup 2022-08-09 14:28:16 +02:00
Malin E 844c4ffb84 Merge branch 'master' into feature/du-meshes-selection 2022-08-09 09:02:16 +02:00
Malin E 54dcdcf0f1 Some clean up 2022-08-09 08:54:41 +02:00
Ylva Selling 160eab1c1e Remove display copy properly. Close #2200 2022-08-08 17:23:44 -04:00
Malin E 8c01d536b6 Restore RenderableDUMeshes class 2022-08-05 17:01:12 +02:00
Malin E 6efb99e551 Fix constellation bounds render issue 2022-08-05 16:59:04 +02:00
Malin E a2938c8384 Update label file cache format 2022-08-05 15:12:43 +02:00
Malin E 62aaa45ff5 Move file reading to initialize instead of constructor 2022-08-05 14:08:36 +02:00
Malin E ca203c425a Merge branch 'master' into feature/du-meshes-selection 2022-08-05 13:19:09 +02:00
Malin E 94a85ec719 Fix constellation label rendering 2022-08-05 13:05:36 +02:00
Emma Broman 0cc5704b6a Add isGuiWindow check for mouse and keyboard callbacks
Fix interaction problems when hovering/clicking with the mouse in a non-GUI window, when having a setup with more than one window (e.g. the single_gui.json setup)

Previously, clicking with the mouse in the rendering window without the GUI also triggered mouse clicks in all the other windows, including the GUI windows. This was disturbing for interaction in the single_gui setup

Now, the GUI modules check to see if the clicked window is actually an interaction window
2022-08-05 11:41:10 +02:00
Emma Broman 0161d514b7 Fix collision between ImGui and WebGui
The callbacks of WebGui (which is on top) now gets priority
2022-08-05 11:41:10 +02:00
Malin E e98e9fe4a3 WIP initiali version of new constellation classes 2022-08-05 11:05:57 +02:00
Malin E 9c39874efc Load spaeck file in initialize instead of initialiseGL 2022-08-02 14:05:39 +02:00