BLUR.
-
Does anyone manage to use blur successfully ?
HIse gets very sluggish when enabling blur,either I am doing something very wrong or its not usable ?
Any tips or tricks ?
-
@lalalandsynth Been looking into this a bit more. The issue is HISE only gives us box and gaussian, and both are too heavy to run live — fine for a one-off bake, useless on anything that redraws.
Over on the JUCE side the go-to is Stack Blur, and there's a mature module for it (melatonin_blur, MIT licensed, now under the Tracktion org). It's a Stack Blur / convolution implementation built specifically so you can throw a bunch of drop shadows and inner blurs on a vector UI and still hold 60fps. Since HISE is JUCE under the hood, seems like a fast blur path is very doable. -
@lalalandsynth HISE has melatonin blur for a couple of years, but I think it's only used by the drawShadowFromPath functions.
-
@David-Healey that is interesting, wonder why we dont have that available as a general blur ? Blur is needed to make bloom effects which can really help a vector ui pop.
-
@lalalandsynth It might be available on the CSS side, I haven't tried.
-
@David-Healey will have a look tomorrow, i need blur on some dynamic elements, lets see if i I find a way.
-
@lalalandsynth Yea CSS would be the way to go. HISE does indeed use melatonin_blur , it's negative performance effects have been noted on the forum before. Possibly updating it to a newer version would help, but I personally dropped it in favour of CSS or using a Webview.
-
@HISEnberg for shadows excusively or can css or webview be overlayed on vectors for " layer blur".
Css is only for laf right , not paint routines or have i gotbit wrong? -
@lalalandsynth said in BLUR.:
Css is only for laf right , not paint routines or have i gotbit wrong?
Css can be used with panels too
divis the selector