Commit Graph

30 Commits

Author SHA1 Message Date
Alexander Bock fc9b2ab091 Increase the compilation speed (#3545)
- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
  - Optimizing some header files
  - Remove duplicate Lua functions from properties. 
  - Move List,Option,Selection,String, and TriggerProperty into misc folder
  - Move lua_helper include out of inline file
  - Add lua_helper to the precompiled header
  - Declare property functions as final. No longer have OptionProperty derive from IntProperty
  - Remove Dictionary header from properties
2025-03-14 11:22:40 +01:00
Alexander Bock 096363fd06 Make constructors explicit 2025-02-05 23:22:32 +01:00
Alexander Bock 820e90eab4 Happy new year 2025-01-14 16:21:08 +01:00
Emma Broman eb1cfec7bd Renderable property info walkthrough/cleanup (#3226)
A passover of all the Parameters descriptions and PropertyInfo descriptions of the renderables in the code base to make then more consistently and concisely formatted. Also fixed some small issues and added or updated descriptions.

* Start rephrasing propertyinfos for more consistency

* Update eclipse cone propertyinfos

* Update `RenderableFov` property infos and group colors in UI

* `RenderableGalaxy` and `RenderableGlobe`

* Update more descriptions

* Moore descriptions

* Update docs for `RenderableShadowCylinder` and add properties

* `RenderableSkyTarget`, and spheres (`ImageOnline` and `ImageLocal`)

* `RnederableSphericalGrid`, and update line width info of other types, for consistency

* `RenderableStars` and `RenderableTimeVaryingSphere`

* Update more propertyinfos

* Fix inconsistent mentioning of true/false

* change some phrasings for increased consistency

* Update Renderbin description to include Sticker bin and remove extra property

* Rename `OutlineWeight` -> `OutlineWidth`

* Extend description about enable depth test for models

* Clarify what relative values mean for `RenderableNodeArrow`

* Elaborate on `RenderableLabel` size property

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
2024-05-20 09:24:40 +02:00
Alexander Bock 6e29d898cf Update copyright header 2024-02-06 15:53:24 +01: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
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 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 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 7154b6c4fa Move video stretching into video player 2023-02-16 12:04:13 -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 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