Commit Graph

  • 13bcd52e8c ~ Fixed regression in composite layer handling ~ Properly fixed usage of "previous" as texture Alexis Maiquez 2021-11-30 23:49:08 +0100
  • b920e94870 ~ Fixed some backgrounds being black because of wrong composite layer ordering ~ Videos should no longer appear vertically mirrored Alexis Maiquez 2021-11-30 21:32:19 +0100
  • 96fb8a6700 + Added some more default values for shaders so genericimage2 displays properly Alexis Maiquez 2021-11-29 14:37:09 +0100
  • 7db3618350 + Added parsing for shader constants that have extra information + Added support for slider properties Alexis Maiquez 2021-11-29 13:56:50 +0100
  • 9d2e9b43ee ~ Fixed an infinite loop in the shader compiler + Added more valid variable types to the shader compiler so compilation doesn't fail Alexis Maiquez 2021-11-29 13:36:15 +0100
  • cbb02873a8 ~ Updated README.md to reflect the changes in command-line execution Alexis Maiquez 2021-11-29 13:04:25 +0100
  • 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 Alexis Maiquez 2021-11-29 12:57:15 +0100
  • d041e6455e ~ Better error handling to show relevant messages when a package load doesn't work + Added support for loading PKGV0014 Alexis Maiquez 2021-11-29 12:33:15 +0100
  • 74ee75f862 + added a new example to the readme Alexis Maiquez 2021-10-01 17:28:26 +0200
  • 332507351f ~ use glClear instead of allocating pixels for FBOs creation Alexis Maiquez 2021-10-01 15:46:04 +0200
  • 4744304a3d ~ fixed multiple-screen rendering of backgrounds Alexis Maiquez 2021-10-01 04:16:13 +0200
  • 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 Alexis Maiquez 2021-10-01 04:06:27 +0200
  • 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 Alexis Maiquez 2021-09-29 01:21:35 +0200
  • 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 Alexis Maiquez 2021-09-28 21:41:24 +0200
  • 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 Alexis Maiquez 2021-09-27 01:39:23 +0200
  • 6c8187324e - removed -fpermissive from the C++ flags compiler as it was screwing up the compilation Alexis Maiquez 2021-09-10 15:51:05 +0200
  • 50c9aebab0 - removed references to irrlicht (thanks to @mihawk90) Alexis Maiquez 2021-09-10 14:38:29 +0200
  • fc442ef29d + added mention of more dependencies for GLFW3 on README.md Alexis Maiquez 2021-09-10 09:33:54 +0200
  • 5e70a97021 + added mention of custom GLFW3 version being built as part of linux-wallpaperengine Alexis Maiquez 2021-09-10 09:31:19 +0200
  • 83a31c7e17 + added mention of libxxf86vm to the readme Alexis Maiquez 2021-09-10 09:28:47 +0200
  • 03089ec35d + added mentions of glew and glut requirements in the readme + added PKGV0013 to the list of supported packages Alexis Maiquez 2021-09-09 20:59:49 +0200
  • 58be46460b + added a missing linefeed for the README.md to look nice Alexis Maiquez 2021-09-08 22:07:05 +0200
  • ed2a140aed ~ reflect submodules cloning on the README for the project usage Alexis Maiquez 2021-09-08 22:06:14 +0200
  • 93456940e3 ~ fix videos not being rendered properly ~ fix some combos not having the correct casing for shaders Alexis Maiquez 2021-09-08 21:57:57 +0200
  • 3f4996234e ~ changed some json data to have a default value if it's null or not-existant Alexis Maiquez 2021-09-08 21:17:02 +0200
  • 73c40c3d4e ~ fix resolutions higher than your current window Alexis Maiquez 2021-09-08 21:02:16 +0200
  • 3736c0c1b9 - removed some irr:: types left on the code that I missed ~ quick and dirty hack to make combos propagate between shaders (this needs to be improved, left TODOs for that) Alexis Maiquez 2021-09-08 20:30:03 +0200
  • 0328dbad92
    Merge pull request #46 from Almamu/opengl-port Alexis Maiquez 2021-09-08 19:49:52 +0200
  • 0a95b27272 + added somewhat proper scaling of (small) backgrounds Alexis Maiquez 2021-09-08 19:47:49 +0200
  • 48da16f7e5 ~ listen for screen size changes and setup proper viewport so everything is rendered from the center of the screen ~ fixed a typo on one of the vertex positions for the CWallpaper::render function Alexis Maiquez 2021-09-08 19:42:27 +0200
  • 213af7b99a + added the submodules file missing on last commit Alexis Maiquez 2021-09-08 19:12:11 +0200
  • 0225cac917 ~ changed glfw to use a custom library version until upstream adds proper support for this ~ brought back proper background rendering and position detection Alexis Maiquez 2021-09-08 19:09:43 +0200
  • 0dc5228cf0 ~ fixed build issue with the tests on glfw3 native functions Alexis Maiquez 2021-09-08 16:16:45 +0200
  • 2432ec9a36 ~ some cleanup of todos and dead code Alexis Maiquez 2021-09-05 22:02:58 +0200
  • 03c4660f5c ~ brought back path fixing functionality so all paths given in the command line now end with a / + added support for texture format definition (TEX0FORMAT) although it might need some more investigation (specially for multi-pass shaders) + added implicit conversion from vec3 to vec2 in shaders Alexis Maiquez 2021-09-05 21:53:37 +0200
  • 154fe905bc ~ brought back video support Alexis Maiquez 2021-09-05 21:52:16 +0200
  • 113d84173e ~ changed readTexture for containers to produce a CTexture file ready to be used (simplifies loading textures) ~ fixed a write to null error on CDirectory that wasn't taking into account that length can be null Alexis Maiquez 2021-09-05 14:29:11 +0200
  • 5c56d68a69 ~ fixed texture resolution variable not being correct (prevented texture scaling on things like masks) Alexis Maiquez 2021-09-05 14:15:12 +0200
  • 30b4eb4cd4 ~ fix type extraction on shaders not working properly + added uint4 and mat4x3 types Alexis Maiquez Murcia 2021-09-04 21:49:48 +0200
  • b152913d90 - removed useless variable types that are not being used anymore ~ updated some strings to ensure the type-checking matches + added support for integer <-> float casting on constants + added support for vec2 variables Alexis Maiquez 2021-09-04 15:44:39 +0200
  • 65bfbe1493 + added some default values for TextureMipmap as they were not being set automatically by the compiler sometimes (and thus breaking the texture load) + added helper to parse vector4 data from json - removed some old, commented out code + added support for getting textures from the shader's code too (fixes masks on some backgrounds) + added support for shader varibles with default values from shader's source code Alexis Maiquez 2021-09-04 15:02:11 +0200
  • 2ffb5f1b24 + added an extra render pass to render the scene upside down (so it looks fine) Alexis Maiquez 2021-09-03 03:24:55 +0200
  • 16ed2f30de + added FreeImage for loading all the non-compiled textures (jpg, pngs, etc) + set proper glViewport instead of hardcoded 1920 by 1080 (this might require some changing and instead do a glViewport of the screen/window size and then scaling the backbuffers) ~ set proper texture size for pingpong buffers (to work with the viewport fixes) - removed FREE_IMAGE_FORMAT as it's already included in the FreeImage library Alexis Maiquez 2021-09-02 23:59:00 +0200
  • 9d7d344b80 - removed commented code from main.cpp that is not useful anymore ~ changed how g_Time is calculated so any shader that uses it should behave properly ~ changed how the uniforms are set to a reinterpret_cast instead of static_cast to perform a direct pointer conversion (safe as we know the types were actually those types) Alexis Maiquez 2021-09-02 22:30:38 +0200
  • 59e6800f81 + added depthtesting and blending support for shader passes Alexis Maiquez 2021-09-02 09:05:12 +0200
  • 09d53e8dd7 + added proper value for a_TexCoord when the rendering is not hapening from the main texture TODO: THIS IS ALL EXPERIMENTAL CODE, THESE VALUES WILL BE SETUP ON STARTUP AND NOT ON RUNTIME Alexis Maiquez 2021-09-01 20:10:21 +0200
  • 06c519ce79 - removed useless debugging output ~ changed attribs to be registered at a list too to make it easier to use Alexis Maiquez 2021-09-01 19:55:03 +0200
  • cfdd92d173 + added missing table headers on TEXTURE_FORMAT.md Alexis Maiquez 2021-09-01 16:41:00 +0200
  • 8ae77aa7c0 - removed useless casting on CTexture ~ updated TEXTURE_FORMAT.md documentation to reflect real format Alexis Maiquez 2021-09-01 16:39:25 +0200
  • d9c12d0b58 - removed .idea folder as that shouldn't have been uploaded in the first place ~ changed g_Time to float instead of double Alexis Maiquez 2021-09-01 15:30:00 +0200
  • 6096981136 ~ more updates to readme Alexis Maiquez 2021-09-01 02:31:50 +0200
  • e71ae189fb + added some special thanks to the readme.md Alexis Maiquez 2021-09-01 02:05:24 +0200
  • eb29078cfe - removed duplicated list of variables and unified under the new way of registering uniforms, simplifying required code - removed commented out code on CPass as there's already almost equivalent code working Alexis Maiquez 2021-09-01 01:48:21 +0200
  • 7613bf254a ~ updated readme to reflect current status + added texture resolution to CTexture so it can be properly used in the CPass + framebuffer textures now have filtering specified (prevents black screen), still need to adjust information about the texture + added proper uniform variable registration to ease the usage Alexis Maiquez 2021-09-01 01:27:01 +0200
  • 8bc19b20ae + added support for the isVisible flag on images Alexis Maiquez 2021-08-31 02:51:10 +0200
  • dd76439901 ~ fixed a_TexCoord variable not having the correct values - removed irrlicht functions and types from the active codebase so it's no longer required at compile time (CContext still there as the code might be still be useful) Alexis Maiquez 2021-08-31 02:29:28 +0200
  • 291b7e364a - removed/commented out most irrlicht-specific code ~ written close to equivalent versions in OpenGL code using GLM and GLFW ~ written replacements for texture and package loading to not use irrlicht anymore ~ updated shader compiler as we now don't need to replace attributes anymore + added support for texture flags in the texture header (as they're needed for opengl to get proper information) Alexis Maiquez 2021-08-31 01:14:08 +0200
  • 861f2261ef ~ changed the texture resolution constant on shaders, although it is 100% incorrect, seems to get some more wallpapers working Alexis Maiquez 2021-08-08 09:41:25 +0200
  • 537acb97bd ~ shader precompilation should be done in order to ensure that the vertex shader has information discovered by the fragment shader (like new combos) should fix some effects on backgrounds + added partial support for shader constant values from the scene.json Alexis Maiquez 2021-08-08 08:41:03 +0200
  • 8d0eb6d63c ~ combo value detection should now update combo list on shaders too instead of writting them directly Alexis Maiquez 2021-08-08 07:46:06 +0200
  • b4a6dc9bcd ~ fragment shaders can set new combos on rare occasions, so updated shader compiler to reflect this possibility ~ also updated shader passes to ensure it takes this into account Alexis Maiquez 2021-08-08 07:41:12 +0200
  • 65a26c2b16 - removed some special handling for white masks that was a dirty fix, the new code should support it out of the box properly Alexis Maiquez 2021-08-08 02:10:31 +0200
  • 4309ca722d + properly set g_Time for shaders + properly set g_TextureXResolution for shaders + properly set g_TextureX for shaders + properly set g_TextureXRotation for shaders Alexis Maiquez 2021-08-08 02:02:17 +0200
  • 2673179909 + added a really dirty fix for the upside down textures that had applied some effects to them Alexis Maiquez 2021-08-08 01:14:52 +0200
  • c93c72edc0 + added orthogonal flag to the camera ~ removed reduntant code from CImage and made use of the new versions of the same code on CEffect, CMaterial and CPass to simplify the rendering code and make it easier to read TODO: FIX MATRIX THAT VERTICALLY FLIPS THE IMAGES! ~ properly linked output from CMaterial, CEffect and CPass so a full render pass outputs something to the screen Alexis Maiquez 2021-07-29 16:05:15 +0200
  • d212bde9aa + added the assets folder to the gitignore Alexis Maiquez 2021-06-16 21:31:24 +0200
  • 89f956e796 ~ fix image positioning when the camera center was not 0, 0, 0 Alexis Maiquez 2021-06-16 18:38:37 +0200
  • 4a1f91d548 Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation Alexis Maiquez 2021-06-16 18:10:36 +0200
  • 10191202df + added light element type to the detection list, not supported yet + added PKGV0004, PKGV0005, PKGV0006 to the list Alexis Maiquez 2021-06-16 18:10:05 +0200
  • e89e80c2b8 ~ Fixed a mistake in the variable parsing for the shader pre-compiler, arrays are not always expected Alexis Maiquez 2020-10-29 12:00:51 +0100
  • a0ed644491 ~ added search for text objects in the backgrounds to prevent crashes for now Alexis Maiquez 2020-08-25 15:19:45 +0200
  • 27b50ffac9 ~ some settings for the camera are optional, so treat them that way (camera shake and parallax) + added helper functions to get optional values in an easy way Alexis Maiquez 2020-08-25 15:09:29 +0200
  • d5ee71540d ~ ignore particle loading errors as the required data is not yet 100% clear + added support for PKGV0009 packages (should fix #24 for @UltraBlackLinux) Alexis Maiquez 2020-08-24 17:51:24 +0200
  • d0a19e87e3 Merge https://github.com/Almamu/linux-wallpaperengine ambidot 2020-07-29 18:51:17 -0500
  • cf70484188 ~ forward port changes on the pull request #22 by @ambidot Added positioning code based on material origin, size, and scale. Fixed mirrored vertices and mirrored BGRA pixels. Added DXT3 support. Fixed DXT decompression segfault due to sizeof (long). Fixed RGBA packing order. Enabled PKGV0008 support. Fixed detection of json "scene" string with uppercase characters. Fixed positioning of miscellaneous foreground objects. (commits 72831e1b2f, 9017a5732e, 853d128830, af846053c8 and c45b58bc96) Alexis Maiquez 2020-07-29 13:21:54 +0200
  • 2bd5ea70e3 ~ fixed scene file being loaded before the type of background was checked (fixes crash on #23) Alexis Maiquez 2020-07-29 10:59:49 +0200
  • 3730ac438f ~ fix segmentation fault reported on #22 Alexis Maiquez 2020-07-28 10:55:56 +0200
  • c45b58bc96 Small regression fix. The flowmask material interferes with defaultprojects/deep_space, and godrays_downsample2 interferes with 2171797221. ambidot 2020-07-27 04:50:14 -0500
  • af846053c8 Fixed positioning of miscellaneous foreground objects. ambidot 2020-07-26 18:01:36 -0500
  • 853d128830 Fixed detection of json "scene" string with uppercase characters. Fixed JPG dumping channels. ambidot 2020-07-25 17:31:12 -0500
  • 9017a5732e Put DXT3 back in enum TextureFormat for testing purposes. ambidot 2020-07-25 02:57:40 -0500
  • 72831e1b2f Added positioning code based on material origin, size, and scale. Fixed mirrored vertices and mirrored BGRA pixels. Added DXT3 support. Fixed DXT decompression segfault due to sizeof(long). Fixed RGBA packing order. Added texture dumping to file. Enabled PKGV0008 support. Disabled shader dumping to log. ambidot 2020-07-25 02:03:10 -0500
  • 39d3f4f1e0 + added PKGV0007 to the supported versions (experimental) Alexis Maiquez Murcia 2020-07-06 20:52:47 +0200
  • 79e9ead2ee Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation Alexis Maiquez Murcia 2020-07-06 20:26:04 +0200
  • 7d7c51a3bc ~ moved camera initialization before the actual items initialization + added PKGV0007 to the list of supported packages (experimental) + added support for parsing properties of type bolean + added parsing of a missing particle initializer (turbulentvelocityrandom) + added back sound playinh which was left out when rewritting Alexis Maiquez Murcia 2020-07-06 20:05:15 +0200
  • 5d5ce361fe
    Initial video support without audio (#14) IceCryptonym 2020-04-28 02:50:17 +1000
  • 067aea6543 Moves code related to rendering from Core::CVideo to Render::CVideo IceCryptonym 2020-04-23 16:17:41 +1000
  • 3079b42cc4 Nitpicks IceCryptonym 2020-04-11 20:05:18 +1000
  • ab937780ed Fixes videos not rendering IceCryptonym 2020-04-06 09:24:46 +1000
  • 64bcfd00a2 Properly support different wallpapers IceCryptonym 2020-04-05 17:47:09 +1000
  • 8b53316b2c Initial video support without audio IceCryptonym 2020-04-03 14:06:33 +1000
  • fd28d42747 Updates README.md for compilation requirements IceCryptonym 2020-03-31 19:39:12 +1000
  • 67876c78cc Refactors to allow support for other wallpaper types IceCryptonym 2020-03-31 14:03:03 +1000
  • 9b05f45bd0 Adds FFmpeg to CMake IceCryptonym 2020-03-31 13:51:36 +1000
  • 88d63faec3 Merge branch 'master' of github.com:Almamu/linux-wallpaperengine Alexis Maiquez 2020-03-31 23:36:32 +0200
  • 2da73666b1 + added error reporting for SDL initialization (98e245b4cb) Alexis Maiquez 2020-03-31 23:35:51 +0200
  • 98e245b4cb + added error reporting for SDL initialization Alexis Maiquez 2020-03-31 23:32:46 +0200
  • 7f227291d2 + added missing license for the DXT1 and DXT5 decompressors Alexis Maiquez 2020-03-26 11:00:01 +0100
  • dd1ee4e0b6 Update issue templates Alexis Maiquez 2020-03-25 14:48:16 +0100
  • 838c9499e7 ~ changed missed nlohmann::json::iter_imp<nlohman::json> to nlohmann::json::iterator from PR #12 Alexis Maiquez 2020-03-25 14:36:07 +0100