Code: Select all
[Meter]
Meter=String
Text=Blur me
Blur=5
This is actually achievable using magickmeter, but the efficiency of that is really low.
Code: Select all
[Meter]
Meter=String
Text=Blur me
Blur=5
Agree and I also would find it extremely useful. Would need it if (especially for images, but maybe not just) anytime in future such a feature will be added.death.crafter wrote: βAugust 14th, 2021, 8:11 am I don't think it is possible since blur is an attribute for image. Tho, blur option in image wouldn't be bad.
Are you sure this isn't already achievable for String meters by tweaking the inline Shadow parameters? I'm thinking of using negative, positive, or even multiple offsets in either one or multiple inline settings to achieve the desired outcome.
Currently the shadow is only a solid copy of the original string, not blurred. That's why I also suggested to add more customization to the shadow inline optionYincognito wrote: βAugust 17th, 2021, 10:40 am Are you sure this isn't already achievable for String meters by tweaking the inline Shadow parameters? I'm thinking of using negative, positive, or even multiple offsets in either one or multiple inline settings to achieve the desired outcome.
It would probably be useful as a general meter option though, as some sort of a "glass"-like effect. And blur is a clone of the blurred element, from a shape perspective, even though it's done on a pixel level.
Well, it's a copy alright, but it can be blurred (ressurected some of my "older" codes on the forum to illustrate it; this applies the shadow in all 4 cardinal directions, but of course it can be adjusted even further if needed; middle click to change the "active" parameter between the shadow's offset and blur, scroll to increase/decrease it, you can look at the log to see the values and compare):
Code: Select all
[Variables]
Color0=0,0,0,64
Color1=0,128,255,64
Color2=255,0,255,255
ShadowOffset=1
ShadowBlur=1
ParameterStep=0.5
ParameterIndex=0
Parameter0=Offset
Parameter1=Blur
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
---Measures---
---Meters---
[MeterText]
Meter=String
X=0
Y=0
FontFace=Tahoma
FontColor=#Color2#
SolidColor=#Color0#
SolidColor2=#Color1#
GradientAngle=90
InlineSetting=Shadow | (-#ShadowOffset#) | (-#ShadowOffset#) | (#ShadowBlur#) | #Color2#
InlineSetting2=Shadow | (-#ShadowOffset#) | (#ShadowOffset#) | (#ShadowBlur#) | #Color2#
InlineSetting3=Shadow | (#ShadowOffset#) | (-#ShadowOffset#) | (#ShadowBlur#) | #Color2#
InlineSetting4=Shadow | (#ShadowOffset#) | (#ShadowOffset#) | (#ShadowBlur#) | #Color2#
FontSize=14
AntiAlias=1
Padding=5,5,5,5
UpdateDivider=-1
Text="Text Effects Demo#CRLF##CRLF##CRLF##CRLF#Shadow [#Parameter[#ParameterIndex]]#CRLF##CRLF##CRLF##CRLF#Text Effects Demo"
LeftMouseUpAction=[!SetVariable Color0 #Color1#][!SetVariable Color1 #Color0#][!UpdateMeter #CURRENTSECTION#][!Redraw]
MiddleMouseUpAction=[!SetVariable ParameterIndex (1-#ParameterIndex#)][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseScrollUpAction=[!SetVariable Shadow[#Parameter[#ParameterIndex]] ([#Shadow[#Parameter[#ParameterIndex]]]+#ParameterStep#)][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseScrollDownAction=[!SetVariable Shadow[#Parameter[#ParameterIndex]] ([#Shadow[#Parameter[#ParameterIndex]]]-#ParameterStep#)][!UpdateMeter #CURRENTSECTION#][!Redraw]
DynamicVariables=1
death.crafter wrote: βAugust 14th, 2021, 8:11 amI don't think it is possible since blur is an attribute for image.
What was that? "Impossible", again? Nah, that's just a matter of a little creativity in implementation... If one really really wants some, then he shall get some, since the proper tools exist - it's all about the will, my friends, it's all about the will.
I don't think he meant blur like that but sure.Yincognito wrote: βAugust 18th, 2021, 2:52 am What was that? "Impossible", again? Nah, that's just a matter of a little creativity in implementation... If one really really wants some, then he shall get some, since the proper tools exist - it's all about the will, my friends, it's all about the will.
Yeah, well, it's a bit limited, as increasing/decreasing the parameters too much leads to losing the desired effect (at least in this 4 direction implementation, not sure if 8 or more directions are used), but it comes close to the desired outcome. Feel free to use this or adjust if necessary for glowing text ... but what is "sigma"? Is it the symbol / character or something else? What trouble do you have in handling it?death.crafter wrote: βAugust 18th, 2021, 3:35 am I don't think he meant blur like that but sure.
P.S. you just created glow effect. I was using magic meter for that. May be if I can figure out a way to handle sigma, I will use this
Sigma is the amount of shadow, or rather the width of the shadow. I don't think its an universal term tho.Yincognito wrote: βAugust 18th, 2021, 4:08 am Yeah, well, it's a bit limited, as increasing/decreasing the parameters too much leads to losing the desired effect (at least in this 4 direction implementation, not sure if 8 or more directions are used), but it comes close to the desired outcome. Feel free to use this or adjust if necessary for glowing text ... but what is "sigma"? Is it the symbol / character or something else? What trouble do you have in handling it?
P.S. Also, be aware that these effects will take some CPU - too much for my taste, but then, that part is outside my reach as it's about how the effects are layered on top of each other in Rainmeter (and its code) itself, so it is what it is...