HISE Logo Forum
    • Categories
    • Register
    • Login

    Slider issue

    Scheduled Pinned Locked Moved General Questions
    12 Posts 5 Posters 156 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.
    • pcs800P
      pcs800 @Dan Korneff
      last edited by

      @Dan-Korneff
      In that example, they are 128 pixels high.
      I have the stitching software set to use no space between each one.

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

        @pcs800 Take the total height of the image and divide it by the number of frames, if the result isn't a whole number then there is a spacing or frame size issue.

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

        pcs800P 1 Reply Last reply Reply Quote 1
        • pcs800P
          pcs800 @d.healey
          last edited by

          @d-healey Bingo, it's not a whole number.
          This stitching software must be adding space.
          What does everyone else use?

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

            @pcs800 On the very rare occasions I use filmstrips I create them in Inkscape but that's only useful if you're designing the control in Inkscape too.

            If you have the frames already as separate images I think the best tool is Strip Generator from WavesFactory

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

            pcs800P 2 Replies Last reply Reply Quote 0
            • ChazroxC
              Chazrox @pcs800
              last edited by

              @pcs800 there's also another option that doesnt require filmstrips. You could easily do that fader in LAF and just use a still image for the slider cap.

              we're talking about it here....
              https://forum.hise.audio/topic/12913/how-to-use-a-simple-fader-cap-image

              pcs800P 1 Reply Last reply Reply Quote 2
              • pcs800P
                pcs800 @Chazrox
                last edited by

                @Chazrox Ok thanks, I will look into it.

                1 Reply Last reply Reply Quote 0
                • pcs800P
                  pcs800 @d.healey
                  last edited by

                  @d-healey Thanks David, I'll grab strip generator.

                  1 Reply Last reply Reply Quote 0
                  • pcs800P
                    pcs800 @d.healey
                    last edited by

                    @d-healey I had found something called Texture packer, that does the stitching job. Te biggest issue I am having is when I import my image of a slider cap, into an animation tool that can output a series of images (I'm using Synfig Studio), it's a real pain in the butt to get it to animate. I am looking for something easier than Synfig

                    ChazroxC 1 Reply Last reply Reply Quote 0
                    • ChazroxC
                      Chazrox @pcs800
                      last edited by

                      @pcs800 Did u look into LAF for this? You can animate that slider cap still image with this easily. Lets say in your case you have the slider cap and the background image… import both images into your LAF function, draw the background image as still, then animate only the slider cap for current value. Its 2 parts (images) and 0 frames.

                      Start with a vertical slider, create a Laf, import your two images then use g.drawImage to use your images in your LAF. Im on my phone right now so when I get on the computer I can show you an example. Its pretty friggin simple.

                      dannytaurusD 1 Reply Last reply Reply Quote 1
                      • dannytaurusD
                        dannytaurus @Chazrox
                        last edited by

                        @Chazrox said in Slider issue:

                        @pcs800 Did u look into LAF for this? You can animate that slider cap still image with this easily. Lets say in your case you have the slider cap and the background image… import both images into your LAF function, draw the background image as still, then animate only the slider cap for current value. Its 2 parts (images) and 0 frames.

                        Start with a vertical slider, create a Laf, import your two images then use g.drawImage to use your images in your LAF. Im on my phone right now so when I get on the computer I can show you an example. It's pretty friggin simple.

                        Definitely this 👆

                        @pcs800 Sounds like you might be making it a lot harder than it needs to be.

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

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

                        28

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.4k

                        Posts