HISE Logo Forum
    • Categories
    • Register
    • Login

    Draw Image in Presets Browser

    Scheduled Pinned Locked Moved Solved General Questions
    12 Posts 3 Posters 416 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.
    • d.healeyD
      d.healey @DabDab
      last edited by

      @DabDab Yes, I posted a video about this on Patreon recently.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      orangeO DabDabD 2 Replies Last reply Reply Quote 0
      • orangeO
        orange @d.healey
        last edited by

        @d-healey It is possible for the Expansions column only, right?

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @orange
          last edited by

          @orange I believe it should work for any column

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          1 Reply Last reply Reply Quote 1
          • DabDabD
            DabDab @d.healey
            last edited by

            @d-healey When it will be available on Regular Youtube?

            Bollywood Music Producer and Trance Producer.

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @DabDab
              last edited by d.healey

              @DabDab Not for at least a month.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              DabDabD 2 Replies Last reply Reply Quote 1
              • DabDabD
                DabDab @d.healey
                last edited by

                @d-healey Ok.

                Bollywood Music Producer and Trance Producer.

                1 Reply Last reply Reply Quote 0
                • DabDabD
                  DabDab @d.healey
                  last edited by DabDab

                  @d-healey I was trying to join Patreon but my Currency and card doesn't allow me to join Patreon. When I am selecting Paypal gateway page doesn't load....

                  jjjj.jpg

                  May be i have to wait for it as Regular YT video.

                  Bollywood Music Producer and Trance Producer.

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • DabDabD
                    DabDab
                    last edited by

                    @d-healey Can I get a basic Idea on LAF and Image? A minimal example ?

                    Bollywood Music Producer and Trance Producer.

                    1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @DabDab
                      last edited by

                      @DabDab said in Draw Image in Presets Browser:

                      @d-healey I was trying to join Patreon but my Currency and card doesn't allow me to join Patreon. When I am selecting Paypal gateway page doesn't load....

                      You might need to contact Patreon or PayPal about that.

                      Can I get a basic Idea on LAF and Image?

                      It's the same process as drawing an image on a panel. Only instead of loading the image into the panel you load it into the laf object. Then you can use it in any of the laf functions.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      DabDabD 1 Reply Last reply Reply Quote 1
                      • DabDabD
                        DabDab @d.healey
                        last edited by DabDab

                        @d-healey

                        const var Texture = Content.getComponent("Texture");
                        const var FloatingTile1 = Content.getComponent("FloatingTile1");
                        
                        
                        Texture.loadImage("{PROJECT_FOLDER}images.jpg", "TextureImage");
                        
                        Texture.setPaintRoutine(function(g)
                        {
                        
                        	g.drawImage("TextureImage", [0, 0, this.getWidth(), this.getHeight()], 0, 0); 
                        
                        });
                        const var laf = Content.createLocalLookAndFeel();
                        laf.registerFunction("drawPresetColoumnBrowserBackground", function(g, obj)
                        {
                        	Console.print(trace(obj));
                        
                        	 g.drawImage("TextureImage", [0, 0, this.getWidth(), this.getHeight()], 0, 0); 
                        });
                        
                        FloatingTile1.setLocalLookAndFeel(laf);
                        

                        getting Error... Please correct me. How can I load to LAF Obj?

                        Bollywood Music Producer and Trance Producer.

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @DabDab
                          last edited by

                          @DabDab laf.loadImage()

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • DabDabD DabDab marked this topic as a question on
                          • DabDabD DabDab has marked this topic as solved on
                          • First post
                            Last post

                          11

                          Online

                          2.0k

                          Users

                          12.7k

                          Topics

                          110.2k

                          Posts