HISE Logo Forum
    • Categories
    • Register
    • Login

    Blurry Panel?!

    Scheduled Pinned Locked Moved General Questions
    39 Posts 8 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sawer @Natan
      last edited by Sawer

      @Natan yes, it is made in the paint routine function.

      And the gaussianBlur is still not working. Ahah I copied and pasted what Christoph wrote but nothing.

      NatanN 1 Reply Last reply Reply Quote 0
      • NatanN
        Natan @Sawer
        last edited by

        @nesta99 You;re On mac?

        Use This:

        HiseSnippet 1937.3oc4Y07iaabEmb2ktdkylZ65TWeicaApLpyZQo0NaRZPn2OzVgtqWAK03FjC1yRNRZfolQlb35UwvHN.4RNDTj64PPO0+.BxgfdXuUTzdvmK5g7WPQN2dX6a3PJNjhcsr7GwaqNHn42LySu2u2iu2aF1zm4fCBX9Z5y2d3.rl9qXzZHk2asdHBUqw5Z5upw1n.N12TBs5vAnf.rqlt9raJ.zmeNsnOe26tJxCQcvoPZZuGi3f2hzmvSQaZ+aHdd0Qt31j9JqdY6FNL5ZLOVHnOyZTQa.x4Nnt3qiDKaFCM8SrgKgy7awQbbfl9bqxbG1pG6dT45eOR.YWOrXfkVKPPR35LOWgFKP0VqGwysYhcGnooazLkElUxBmyXahKYDdJab5nILS2gJenOyQodVSo5oqndyIUuyXzxwmLfmNiP2NkQCJ3n5f.WfpZIWq1L+Aci0XvJn7k5itCttOLXzNJuRkJWx7JUpbw2dgRKTBbDAby8P9lq5E56ObUvSz0mERcMeGyDozEyWi0e.iBCJuX9EtnPR4AWJ.yaBjI+FrPNghK2Ij5vILZ4tWbgR22bgRlvmtKsKtKgtEZH1uL2ODKDU7Dr8Exr7UprDnpllW9xW1roGZn4MI7dls6QBLqX1lYZUoRxVvTWojDR4AhuR9SMYzqy33cnkuXo6WZ9ROnjY9o5zov4DTfOyySH0BlVDX6eTarLMr+tX+KATrGXdIKD7vYCg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XRlOMILmcxdp+wbH6WUpjFFPozHMS9qGq1T2Ge2PL0QA7j1hq4nQpix92amzcPb9jQaeKbWfPTQZigxwsFRcTcLs5yX7dQ0cUu7jyYuEiMXzyBoBoYOTf3XrvAuUEyZgAP6ri5TQb6Js33AxBmefwUWdI3Smeo362bM3qZ67rYr1SfO6wDXMyDFX8iDtOyQtLQD1K40hkZ7n3oiAZ7YMhx+XdrocmyZDke73iBeZilH5KAp6K3JiFIGpZzQFDjQ7PnI9LzvpgPeh4tojCra5i2ifuW97sGaaV30jVxohNmYzs0GwIu1nycZtIlh8EgOGUKCOZRuu9AS780uiCGTg19HZv.V.1RUx4lqZ1dW3gzrKWBkYUByqNXdVp0WS.qpBBOojQXv3LRZahxEx8suqrpYKLXMt6D3.Fqf6xTDMzK.GkvvRciovUUg+0He27ksyGs8D+tAJrD3I9d3UW77H01S6Ikm9lHTa7a9DcT1z8FPywdL.Io.WzUrkfl8QqsYT1fdLJIiS+FXHiP2t3LwREZPWiyQN2Qsctaf8vPmaoP+b6sHTLxG3I7yet3n7W+DCo5ZJxGX9+F2vwr+e4MbL4OgBoLO93oOuAjFupYj6176e+8Kh9CdQ7ezG43ytki7MXJRXbxHDvtowuFhsEiMszhdqlhCNWYoJZ8gxN2xwQDS+5.+T7dpNE6o1Trmkmh8bkoXOWcJ1yaLE6YkibOhJ9WKDNnuL9G.Ztg7H95JWal1+ALx0uFA
        

        Gaussian Blur Does Nothing On Mac, Use boxBlur Instead

        1 Reply Last reply Reply Quote 0
        • S
          Sawer
          last edited by

          @Natan Screen Shot 2021-01-25 at 19.20.10.png

          Function not found..bah.. probably something is missing on my hise master folder.

          NatanN S 2 Replies Last reply Reply Quote 0
          • NatanN
            Natan @Sawer
            last edited by

            @nesta99 You Need A Newer Version Of Hise, That's Why You See That Error

            S 1 Reply Last reply Reply Quote 0
            • S
              Sawer @Natan
              last edited by

              @Natan Screen Shot 2021-01-25 at 19.28.59.png

              So this is not the latest?

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @Sawer
                last edited by ustk

                https://forum.hise.audio/topic/3531/glowing-effect-snippet-enjoy/14
                Except for gaussian blur, I'll have a look if I can get 5min…

                Can't help pressing F5 in the forum...

                S 1 Reply Last reply Reply Quote 0
                • S
                  Sawer @ustk
                  last edited by

                  @ustk Omd! Only On mac! Ahahah wow...

                  ustkU 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @Sawer
                    last edited by

                    @nesta99 Why are you saying this?

                    Can't help pressing F5 in the forum...

                    S 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk
                      last edited by

                      I've checked for the GaussianBlur, it seems it is only Windows compatible probably due to IPP restriction or so...

                      Can't help pressing F5 in the forum...

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sawer @ustk
                        last edited by

                        @ustk Becuse I've said that today I was going to do the entire UI on Hise Just to learn the language more and because everything is vectorized, but yeah... Back to photoshop..

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sawer @ustk
                          last edited by

                          @ustk Strange tho.. because I've installed the ipp

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan
                            last edited by

                            Boxblur Works On Mac, Use That instead
                            Gaussian Blur Doesn't, And This Reported In Other Thread

                            L 1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk
                              last edited by

                              Yep only Gaussian blur is the issue, everything else work...

                              Can't help pressing F5 in the forum...

                              1 Reply Last reply Reply Quote 1
                              • L
                                LeeC @Natan
                                last edited by LeeC

                                @Natan Just out of curiousity.
                                What is the difference between boxblur and gaussianBlur?

                                The effect seems the same with the snippets you provided that's all.

                                1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @Sawer
                                  last edited by

                                  @nesta99 Yeah, the boxblur is working but not the gaussian...

                                  boxblur.gif

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  S 1 Reply Last reply Reply Quote 2
                                  • S
                                    Sawer @ulrik
                                    last edited by

                                    @ulrik @Natan @ustk Ok guys. Thanks a lot. I'll try it out!

                                    1 Reply Last reply Reply Quote 2
                                    • Christoph HartC
                                      Christoph Hart
                                      last edited by

                                      Yes I think there was an issue with the gaussian blur IPP routine on macOS which is why I deactivated it. Box Blur doesn't look as smooth, but it's way faster anyway.

                                      S 1 Reply Last reply Reply Quote 3
                                      • S
                                        Sawer @Christoph Hart
                                        last edited by

                                        @Christoph-Hart
                                        Ok great! Thanks @Christoph-Hart πŸ˜ƒ

                                        1 Reply Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff
                                          last edited by

                                          I could use some help with Paint Routines involving Panel Blur and GUI scaling. I've created an image at 2X scale, so GUI zoom level at 200% looks good.
                                          My original paint routine looked like this, and scaled properly:

                                          Panel1.loadImage("{PROJECT_FOLDER}Panel1.png", "Panel_1");
                                          
                                          Panel1.setPaintRoutine(function(fp)
                                          {
                                          	fp.drawImage("Panel_1", [0, 0, this.getWidth(), this.getHeight()], 0, 0);
                                          });
                                          

                                          I wanted to blur this panel when another is opened, so I did this:

                                          var BlurLevel = 0;
                                          
                                          Panel1.loadImage("{PROJECT_FOLDER}Panel1.png", "Panel_1");
                                          
                                          Panel1.setPaintRoutine(function(fp)
                                          {
                                                  fp.beginLayer(true);
                                          	fp.drawImage("Panel_1", [0, 0, this.getWidth(), this.getHeight()], 0, 0);
                                                  fp.boxBlur(BlurLevel);
                                                  fp.endLayer();
                                          });
                                          

                                          And this is what I'm doing when this new panel opens/closes:

                                          const var PanelOpen = Content.getComponent("Panel_Open");
                                          
                                          inline function onPanelOpenControl(component, value)
                                          {
                                          	BlurLevel = value *5;          //Set Blur Level
                                                  Panel1.repaint();    //blur panel in background
                                          };
                                          Content.getComponent("PanelOpen").setControlCallback(onPanelOpenControl);
                                          

                                          In this configuration, Blur works just fine, but the png doesn't redraw when GUI scaling is changed and the result is not crisp.
                                          What would you guys do?

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          1 Reply Last reply Reply Quote 0
                                          • Dan KorneffD
                                            Dan Korneff
                                            last edited by

                                            And.... of course it starts working directly after I post for help. πŸ˜‚
                                            False alarm

                                            Dan Korneff - Producer / Mixer / Audio Nerd

                                            1 Reply Last reply Reply Quote 3
                                            • First post
                                              Last post

                                            33

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.2k

                                            Posts