Commit Graph

497 Commits

Author SHA1 Message Date
Hynak
c11c6928ea Fixes issue #59's origial issue 2022-02-25 14:23:37 -05:00
Alexis Maiquez
131801b7f0 ~ quick and dirty fix for composite color not being the right value (need to verify that this is actually what should happen)
fixes @C0nvert's #59 issue

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-23 09:50:55 +01:00
Alexis Maiquez
42b8c92c1c ~ Fix compilation with latest avcoded library
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-23 08:45:06 +01:00
Alexis Maiquez
7cd213abf9 Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git 2022-02-18 19:03:25 +01:00
Alexis Maiquez
d5745b1cfa ~ Make use of the resolved path after startup and ensure it ends with a trailing slash.
Should fix @C0nvert 's issues on #59

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-18 19:02:55 +01:00
Alexis Maiquez
7b16c5bbde
Fix codeql analysis not working 2022-02-11 15:53:47 +01:00
Alexis Maiquez
d5586b168b + Added checks for directories and ensuring specified wallpaper folder exists before initialization, fixes #70
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-11 15:50:54 +01:00
Alexis Maiquez
20c4ad3652 + Added better logging for asset loading errors and some extra information, should help get better information on #59
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-31 19:40:22 +01:00
Alexis Maiquez
a66bc26f1d ~ Fix issue #66, command-line parameters were not parsed properly
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-31 17:49:48 +01:00
Alexis Maiquez
6ec5770660 Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git 2022-01-25 00:19:32 +01:00
Alexis Maiquez
8cf2f7de55 ~ Updated .gitignore
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-25 00:19:27 +01:00
Alexis Maiquez
f5ed023725 Fixed frame limiter to work properly with GLFW
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-25 00:17:14 +01:00
Alexis Maiquez
201ce5c39c
Create codeql-analysis.yml (#68)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-24 23:59:51 +01:00
Alexis Maiquez
c39456df53
Create FUNDING.yml 2022-01-24 23:14:38 +01:00
Alexis Maiquez
82cd9ce7a2 Update issue templates 2022-01-24 23:13:32 +01:00
Alexis Maiquez
fa2720f07c ~ Fixed multiple screens not getting a background drawn
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:49:28 +01:00
Alexis Maiquez
577b81215b Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git 2021-12-04 23:45:09 +01:00
Alexis Maiquez
18ab051d47 ~ Fix background setup not working properly after the implementation of mouse support
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:44:17 +01:00
Alexis Maiquez
e08a252f03 + Added brightness reading for image objects
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:15:56 +01:00
Alexis Maiquez
afe7452340 + added support for alpha and color loading for images
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 21:57:21 +01:00
Alexis Maiquez
816e0a6ddf ~ Hopefully take into account object scale properly
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 03:54:46 +01:00
Alexis Maiquez
49a5f9e2ab + added proper framebuffer clearing for passes
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 02:50:11 +01:00
Alexis Maiquez
b55f2e8bf4 + Added PKGV0015 support
+ Added basic support for mouse position on shaders (still needs to be adjusted for backgrounds that are too big for the screen)
  (this makes XRAY effects work)

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-03 02:02:46 +01:00
Alexis Maiquez
d0572b257f ~ Combos can have no default value
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-02 22:00:43 +01:00
Alexis Maiquez
342522cd1d + Added handling for floating point precision qualifiers on type detection
+ Fixed textures not being detected properly on images that do not have any source

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-02 21:33:50 +01:00
Alexis Maiquez
13bcd52e8c ~ Fixed regression in composite layer handling
~ Properly fixed usage of "previous" as texture

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-30 23:49:08 +01:00
Alexis Maiquez
b920e94870 ~ Fixed some backgrounds being black because of wrong composite layer ordering
~ Videos should no longer appear vertically mirrored

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-30 21:32:19 +01:00
Alexis Maiquez
96fb8a6700 + Added some more default values for shaders so genericimage2 displays properly
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 14:37:09 +01:00
Alexis Maiquez
7db3618350 + Added parsing for shader constants that have extra information
+ Added support for slider properties

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:56:50 +01:00
Alexis Maiquez
9d2e9b43ee ~ Fixed an infinite loop in the shader compiler
+ Added more valid variable types to the shader compiler so compilation doesn't fail

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:36:15 +01:00
Alexis Maiquez
cbb02873a8 ~ Updated README.md to reflect the changes in command-line execution
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:04:25 +01:00
Alexis Maiquez
adad3bd18c ~ Changed parser to give sane defaults to some values (like origin, scale and size for each object)
~ Improved path detection on command line arguments
- Removed references to old, deprecated options

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 12:57:15 +01:00
Alexis Maiquez
d041e6455e ~ Better error handling to show relevant messages when a package load doesn't work
+ Added support for loading PKGV0014

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 12:33:15 +01:00
Alexis Maiquez
74ee75f862 + added a new example to the readme
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-10-01 17:37:14 +02:00
Alexis Maiquez
332507351f ~ use glClear instead of allocating pixels for FBOs creation
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-10-01 15:46:04 +02:00
Alexis Maiquez
4744304a3d ~ fixed multiple-screen rendering of backgrounds
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-10-01 04:16:13 +02:00
Alexis Maiquez
13ef4a96c2 ~ changed orthographic camera to use the center as 0, might get reverted,
~ shader passes now won't try to detect projection, texcoord or position, as this'll be specified as parameters
~ removed useless variables being stored
~ model view projection matrix is now stored by image, not by pass
~ proper calculation of centered images

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-10-01 04:06:27 +02:00
Alexis Maiquez
f86eba347c ~ changed priority of assets loading, so background's assets should be loaded before looking into the assets folder
~ hopefully fixed effects that use shader targets so they now display properly

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-29 01:21:35 +02:00
Alexis Maiquez
f5e943b0fc + added ansiotropic filtering
~ material's binds are now a map by index so it's easier to use
- removed depth buffer for FBOs as they're not really useful (at least for now)
~ separated image setup in two stages so FBO creation happens before actually requiring them
- removed ping-pong FBOs where they didn't make sense
~ image's should now render to scene buffer directly whenever possible
~ better support for FBO scaling
~ rendering should now take into account targets and binds in a much better way

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-28 21:41:24 +02:00
Alexis Maiquez
5828b2ee80 + added some extra documentation on rendering based on observations and trial and error
~ deprecated --dir --pkg options, the software will automatically detect the background we're loading
+ first draft of FBO support, there's still some extra work to do
~ texture header is now hidden behind getters so the textures can be any kind of source
~ proper setting of resolution and translation variables for textures
~ simplified call flow for any pass rendering, removing render functions on effect and material
~ framebuffer setup has to happen before object setup in the scene

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-27 01:39:23 +02:00
Alexis Maiquez
6c8187324e - removed -fpermissive from the C++ flags compiler as it was screwing up the compilation
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-10 15:51:05 +02:00
Alexis Maiquez
50c9aebab0 - removed references to irrlicht (thanks to @mihawk90)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-10 14:38:29 +02:00
Alexis Maiquez
fc442ef29d + added mention of more dependencies for GLFW3 on README.md
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-10 09:33:54 +02:00
Alexis Maiquez
5e70a97021 + added mention of custom GLFW3 version being built as part of linux-wallpaperengine
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-10 09:31:19 +02:00
Alexis Maiquez
83a31c7e17 + added mention of libxxf86vm to the readme
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-10 09:28:47 +02:00
Alexis Maiquez
03089ec35d + added mentions of glew and glut requirements in the readme
+ added PKGV0013 to the list of supported packages

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-09 20:59:49 +02:00
Alexis Maiquez
58be46460b + added a missing linefeed for the README.md to look nice
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-08 22:07:05 +02:00
Alexis Maiquez
ed2a140aed ~ reflect submodules cloning on the README for the project usage
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-08 22:06:14 +02:00
Alexis Maiquez
93456940e3 ~ fix videos not being rendered properly
~ fix some combos not having the correct casing for shaders

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-08 21:57:57 +02:00
Alexis Maiquez
3f4996234e ~ changed some json data to have a default value if it's null or not-existant
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-08 21:17:02 +02:00