HISE Logo Forum
    • Categories
    • Register
    • Login

    Panel border radius with glassy, transparent panel?

    Scheduled Pinned Locked Moved General Questions
    6 Posts 2 Posters 359 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.
    • ?
      A Former User
      last edited by

      Is there a way to have a transparent and blurred panel with rounded corners???
      The border radius property doesn't change anything here...

      Screenshot 2021-12-08 at 11.06.49.png
      Screenshot 2021-12-08 at 11.03.48.png

      pnlArp.setPaintRoutine(function(g)
      {
      	g.beginLayer(true);
      	g.boxBlur(40);
      	g.endLayer();
      
      	g.setColour(Colours.blue);
      	for (i = 0; i < lights; i++)
      	{
      		g.fillEllipse([offset + spacing * i, Y[i], sizes[i], sizes[i]]);
      	}
      
      });
      

      Thanks,

      u

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @A Former User
        last edited by

        @ursbollhalder Border settings have no effect when using a paint routine.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @d.healey
          last edited by

          @d-healey Ok. 😟 So there’s no other way of getting a transparent panel with rounded corners?

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @A Former User
            last edited by d.healey

            @ursbollhalder Can't you just fill a rounded rectangle? Or use a mask. For a proper glass effect I think you'll need to use a shader.

            d02d1b34-7bda-4bd4-a53f-b346421078a6-image.png

            HiseSnippet 972.3ocsV0uaaaCDmzIJq1asXEXO.B8ujwRbjRSaGPvvbicxl2ZRMp651PPPKizYINKQJHQkDigBrGf9v12fsihxVJqdYsFXF9Cdew6GOc2O5wYReHOWlQnse47TfP+BqIyEpnAQLtfLZHgdOqSX4JHy1n5v4or7bHfPoa78ZEz1aRJe89u6PVLS3C0pHjWI49vy3IbUs1w8+Idb7wr.3k7jFdue+Q9Rw.Yrr.wyFV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Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @d.healey
              last edited by

              @d-healey Love the frog!!! πŸ˜‚πŸ˜‚πŸ˜‚

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @A Former User
                last edited by

                @ursbollhalder He's not included in the snippet, you need to add your own Pepe

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

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

                50

                Online

                1.7k

                Users

                11.7k

                Topics

                102.2k

                Posts