HISE Logo Forum
    • Categories
    • Register
    • Login

    Filmstrip size limit

    Scheduled Pinned Locked Moved Feature Requests
    22 Posts 5 Posters 1.6k 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.
    • Christoph HartC
      Christoph Hart
      last edited by Christoph Hart

      @d-healey said in Filmstrip size limit:

      Do multiple instances share images?

      Yes.

      MB = width * height * 4 * numFrames / 1000000
      

      more like

      MB = width * height * 4 * numFrames / 1024 / 1024 :)
      

      Crap I just realised my plugins must be using tons of RAM for images.

      You can see the actual size (= not the file size of the compressed image) it will take up in memory in the Image Pool Table.

      1 Reply Last reply Reply Quote 1
      • C
        clumsybear
        last edited by clumsybear

        So if my calculations are right, a 128x128px filmstrip with 128 frames would be 8mb big. Even if the actual size of the filmstrip is like around 300kb, right?

        what if we use the same filmstrip for two controls in a plug-in? Is it then still 8mb or 16mb of ram usage?

        Edit: nevermind, you just answered it. So multiple instances are shared :)

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

          You can see the actual size (= not the file size of the compressed image) it will take up in memory in the Image Pool Table.

          Phew! Only 76MB, I can live with that.

          How does GUI size scaling affect the memory usage?

          C lalalandsynthL 2 Replies Last reply Reply Quote 1
          • C
            clumsybear @d.healey
            last edited by

            @d-healey said in Filmstrip size limit:

            How does GUI size scaling affect the memory usage?

            I’d like to know that as well

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

              Shouldn't affect it too much, the original file size of the images is more important - it may be possible that it has to create an resampled image during the UI rendering, but this will not stay in memory after the job is done AFAIK.

              1 Reply Last reply Reply Quote 0
              • C
                clumsybear
                last edited by

                Interesting @Christoph-Hart

                So, if I want to create all the GUI with vectors, how should I go about it?

                I saw someone posted a clickable gearwheel for a website link, but I couldn’t figure out how to create vector paths. Any hints?

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

                  Well, you don't have to go all the way to the other side and ditch every single image just because a 500x500 filmstrip is overkill :)

                  You can also combine bigger "static" images with smaller images that contain the animation, or images with vector effects (rotation, applying some shadow) etc.

                  Whatever you do, this is the entry point to the vector UI world in HISE:

                  Link Preview Image
                  HISE | Docs

                  favicon

                  (docs.hise.audio)

                  But you probably want to wait for David's upcoming video on the subject :)

                  1 Reply Last reply Reply Quote 1
                  • C
                    clumsybear
                    last edited by

                    But if I have 4 different filmstrips with 128x128 and 128 frames it would take up more RAM than one single 500x500 filmstrip. So, if I can avoid filmstrips for simple knobs and buttons I’d use for vectors

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart
                      last edited by

                      But if I have 4 different filmstrips with 128x128 and 128 frames it would take up more RAM than one single 500x500 filmstrip

                      4 filmstrips with 128x128 take about 25% of a single 500x500 filmstrip. The area of a rectangle is not linear to the size of its edges :)

                      1 Reply Last reply Reply Quote 2
                      • d.healeyD
                        d.healey @clumsybear
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • C
                          clumsybear
                          last edited by

                          Ah, got it. Thanks for clarifying :)

                          1 Reply Last reply Reply Quote 0
                          • BrianB
                            Brian
                            last edited by Brian

                            @Christoph-Hart super glad that I brought up this thread! It's been enlightening and probably saved me a few hundred hours of work! Looking at your last suggestion I see a great way to create what I am envisioning by using invisible sliders to dynamically control the movement of multiple vector and still images via X, Y,W,H + Alpha parameters. Are there any CPU performance or memory snags that might occur by using this method?

                            1 Reply Last reply Reply Quote 0
                            • BrianB
                              Brian
                              last edited by

                              Sorry I missed your question @d-healey ! I am looking into using morphing images instead of the traditional knob approach ( hence the huge sizes) . Though its somewhat experimental I have some very specific ideas from my experience on building and interacting with real physical instruments that I am looking to incorporate virtually.

                              1 Reply Last reply Reply Quote 0
                              • lalalandsynthL
                                lalalandsynth @d.healey
                                last edited by lalalandsynth

                                deleted . . . .

                                https://lalalandaudio.com/

                                https://lalalandsynth.com/

                                https://www.facebook.com/lalalandsynth

                                https://www.facebook.com/lalalandsynth

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

                                24

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                102.8k

                                Posts