Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 20:10:21 +02:00
Alexis Maiquez
06c519ce79
- removed useless debugging output
...
~ changed attribs to be registered at a list too to make it easier to use
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 19:55:03 +02:00
Alexis Maiquez
cfdd92d173
+ added missing table headers on TEXTURE_FORMAT.md
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 16:41:02 +02:00
Alexis Maiquez
8ae77aa7c0
- removed useless casting on CTexture
...
~ updated TEXTURE_FORMAT.md documentation to reflect real format
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 16:39:25 +02:00
Alexis Maiquez
d9c12d0b58
- removed .idea folder as that shouldn't have been uploaded in the first place
...
~ changed g_Time to float instead of double
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 15:30:00 +02:00
Alexis Maiquez
6096981136
~ more updates to readme
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 02:31:50 +02:00
Alexis Maiquez
e71ae189fb
+ added some special thanks to the readme.md
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 02:05:24 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 01:48:21 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-01 01:27:01 +02:00
Alexis Maiquez
8bc19b20ae
+ added support for the isVisible flag on images
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-31 02:51:10 +02:00
Alexis Maiquez
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)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-31 02:29:28 +02:00
Alexis Maiquez
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)
TODO: REWRITE VIDEO PLAYER SUPPORT AS THIS UPDATE EFFECTIVELY BREAKS IT
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-31 01:14:08 +02:00
Alexis Maiquez
861f2261ef
~ changed the texture resolution constant on shaders, although it is 100% incorrect, seems to get some more wallpapers working
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 09:41:25 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 08:41:03 +02:00
Alexis Maiquez
8d0eb6d63c
~ combo value detection should now update combo list on shaders too instead of writting them directly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 07:46:06 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 07:41:12 +02:00
Alexis Maiquez
65a26c2b16
- removed some special handling for white masks that was a dirty fix, the new code should support it out of the box properly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 02:10:31 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 02:02:17 +02:00
Alexis Maiquez
2673179909
+ added a really dirty fix for the upside down textures that had applied some effects to them
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-08-08 01:14:52 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-07-29 16:05:15 +02:00
Alexis Maiquez
d212bde9aa
+ added the assets folder to the gitignore
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-06-16 21:31:24 +02:00
Alexis Maiquez
89f956e796
~ fix image positioning when the camera center was not 0, 0, 0
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-06-16 18:38:37 +02:00
Alexis Maiquez
4a1f91d548
Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation
2021-06-16 18:10:36 +02:00
Alexis Maiquez
10191202df
+ added light element type to the detection list, not supported yet
...
+ added PKGV0004, PKGV0005, PKGV0006 to the list
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-06-16 18:10:05 +02:00
Alexis Maiquez
e89e80c2b8
~ Fixed a mistake in the variable parsing for the shader pre-compiler, arrays are not always expected
...
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
2020-10-29 12:00:51 +01:00
Alexis Maiquez
a0ed644491
~ added search for text objects in the backgrounds to prevent crashes for now
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-08-25 15:19:45 +02:00
Alexis Maiquez
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
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-08-25 15:09:29 +02:00
Alexis Maiquez
d5ee71540d
~ ignore particle loading errors as the required data is not yet 100% clear
...
+ added support for PKGV0009 packages (should fix #24 for @UltraBlackLinux)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-08-24 17:51:24 +02:00
Alexis Maiquez
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
)
~ updated CRotationRandom to support numeric and vectorial rotations
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-07-29 13:21:54 +02:00
Alexis Maiquez
3730ac438f
~ fix segmentation fault reported on #22
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-07-28 10:55:56 +02:00
Alexis Maiquez Murcia
79e9ead2ee
Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation
...
# Conflicts:
# CMakeLists.txt
# src/WallpaperEngine/Core/Objects/Particles/Initializers/CRotationRandom.cpp
# src/WallpaperEngine/Core/Objects/Particles/Initializers/CRotationRandom.h
# src/WallpaperEngine/Core/Projects/CProperty.cpp
# src/WallpaperEngine/Render/CScene.cpp
# src/WallpaperEngine/Render/Objects/CSound.cpp
# src/WallpaperEngine/Render/Objects/CSound.h
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
2020-07-06 20:26:04 +02:00
Alexis Maiquez Murcia
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
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
2020-07-06 20:05:15 +02:00
IceCryptonym
5d5ce361fe
Initial video support without audio ( #14 )
...
* Adds FFmpeg to CMake
* Refactors to allow support for other wallpaper types
* Updates README.md for compilation requirements
* Initial video support without audio
* Properly support different wallpapers
* Fixes videos not rendering
* Nitpicks
* Moves code related to rendering from Core::CVideo to Render::CVideo
2020-04-27 18:50:17 +02:00
Alexis Maiquez
98e245b4cb
+ added error reporting for SDL initialization
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-03-31 23:32:46 +02:00
Alexis Maiquez
7f227291d2
+ added missing license for the DXT1 and DXT5 decompressors
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-03-26 11:00:01 +01:00
Alexis Maiquez
838c9499e7
~ changed missed nlohmann::json::iter_imp<nlohman::json> to nlohmann::json::iterator from PR #12
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-03-25 14:36:07 +01:00
Alexis Maiquez
b4320242cc
Merge pull request #12 from IceCryptonym/data-separation
...
Cleans up nlohmann::json.find(...) calls
2020-03-25 08:46:20 +01:00
IceCryptonym
b37c519209
Nitpicks
2020-03-25 10:20:34 +10:00
IceCryptonym
8172c970b1
Forgot to change key parameter to correct value
2020-03-24 20:41:32 +10:00
IceCryptonym
52fc0ffbac
Forgot to change key parameter to correct value
2020-03-24 20:31:31 +10:00
IceCryptonym
7baa77ef7e
Missed a few replacements of content.find
2020-03-24 19:04:44 +10:00
IceCryptonym
5122206d83
Renames jsonFindValueRequired to jsonFindRequired
2020-03-24 15:38:56 +10:00
IceCryptonym
e30f62d7a1
Clean up json.find(...) calls
2020-03-24 15:32:27 +10:00
Alexis Maiquez
1a6bfac3ee
Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation
2020-03-24 01:00:58 +01:00
Alexis Maiquez
274bb08e4f
~ fix images being rendered fliped horizontally
...
+ added support for arrays in shaders
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2020-03-24 01:00:33 +01:00
Alexis Maiquez
59fa9544e6
Merge pull request #11 from IceCryptonym/data-separation
...
Removes duplicate code in CContext.cpp
2020-03-17 10:56:57 +01:00
IceCryptonym
96839dd61b
Use backBuffer parameter in drawScene
2020-03-17 10:34:55 +10:00
IceCryptonym
d57ad95ab4
Fix code style
2020-03-17 09:19:28 +10:00
IceCryptonym
67be40032a
Removed duplicate code
2020-03-17 09:15:19 +10:00
Alexis Maiquez
8d2f2adcfa
~ added proper texture input/output
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-09-11 15:52:51 +02:00