Filmstrip not working
-
I'm working on making my plugin look cool, so I made this knob and tried to use it as the image for my knob in my plugin, but it's just clear now. I set the number of strips right, but it's still not working. I also tried to go back to the default skin, but that isn't working either now. Here's the image: https://drive.google.com/file/d/1HOh4FDp83xmuhNSKs9KRqn_NE4HkwAdx/view?usp=drive_link
And the project:
HiseSnippet 2075.3oc4YszaajbDdFIMNVOrg2EdQ1KAYvlbvKhg.IEsjX1CjhOjCiIsXHosyBr.1sloIYCOyzyNSSYSaXDCj7mXukeAA60bS+Kx4.DjG2xkbNo5tmG8LhxhKghWs6xCBpq9Q8UUWc8Z5EPsvggz.M80GNyGqoukwfYdrIMlfHdZsapoecCemoigA0m4iBCw1Z55qde9r5qull32+tZcjCxyBmRRS6wThEtCwkvRo1q1CHNNGhrwCItJqtbs1VTuFTG5T.IqZTPyGY8bzX7CQ7kshgl90ZYSXzfALDCGpouVcp8rASnuvSt9GSBIG6f4CJpM.NHI4CoN1bDyop0XBwwtWrDGpooazKU9WUJ+21nKwljPOUObKwDlo6PUenuRV3sZF3UTEdETf2bfjtBjVSBoOvXfU.wmkNCGOaZz1igCFg.0tJTjqUS+TiFTXAdrscQOGeX.LHYC2YmBEtq4dEJ7oe1nodVLB0yj58PJCej2c9zMd8Fquwa1vL+TiFM243rIf53fCl6z7a5f20Fui2T2iwA207DjyTbxBAwOqN0370opW4VRoVYgTu1dD1Q9XuyyPPKRUA5+0hPErTlP6eyHs+.GhMNPiXyeRzGeBN3XMAhUM50VfceMi5GLXvxsW30IhMM.w0fKK2EucO6deT6lHFhaAFoL.EjONfQ35d8l3SfmyR6w0MZhCeNi5CmVCpqO0iq5z2hE8.RxyCcn.L8FOj.2QbNugwCvyNlhBr0doJmmkL3q+80dAwlMIgvyBqMASFOI0Exa+M0hfmDKJG5wiicfrkQ4R6Wducqry9EzHLra7DaZT9dkpre482onB8RxcTobkc2qTk6owvujo5KRnWV4KzMd8FlleBvumvA4m7KMKVd6B2kSqIIz2AM6HKF5D7CElyvziPNgXw7cn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cc6ZBO9CCfpF.MgpLdjGFtNYpxXi.ZX3HPbDmUn5p6MMXLWWktXQJwgYoAWspWp76InDBtIDwJ99Oc0BtTXHRXF8HH61sS9UoA7mSNJzphckDhmbD+u+hri6ka7H0wRVTbtrPYKUTX4xwhRKDKxKEorbAXwNKEKxKEorbNrn7kBKxKEQrTxh6EwhULji2M238RGKs26h7ks9RNzE4eltDcsEKXIbRfSPrixJqSFmvEIkKn6gW6pc2CifzGYzAOFB.7DBaReL7ra73H2eebzLlu.lxLYtr45bokLRZO19NPRzYTjqGiQYBgsfD2bn.k3rRDcnIlZVsWWpG0eB0iXk0aY70fB1mq.c.iANqUcg2G6fQgX0xq5P7vnfrAA9FoKJ9Mtkzy895iMjv0jG.z76tE+r52uK9YkyZZGWqST20jO9x0sKUvjzpK0hf.emoYU71a+m9GUeBl0A1sSJs+R0lAyToc5+4N+sppkKAku+updX.F+JrhEsnn9KOWQumyB8GI0xal1dIgJNS6lx7IbR60jZQkXV9L5fTwBv4qFsGMjkm1kWIkKpyferRGy9gQsFuKswMixXwTzQ7qfND2xPjwkIu9kushytV7mzItOwQemyz1FeY5j9JfKBq3iBjmn+W7slzWE6wy7UzINGEukx9cF0aSHq32KnzEYEPepUzWJAv50ET.T5IZk75Fc4iMKd1OpnKjy6SsrxdTmYikV1MtyxtwxK6Fu2xtwcW1Mt2xtw8u3MxKI4foLpqz0rlV2dsjFf5sRL.WU6+AbFI.TK
-
@imakebeats Your image is just white, is that correct?
-
@imakebeats Your knob has large dimensions, you need to scale it down in the slider's Property Editor. Adjust the scaleFactor (0.1 seems to be the right size for your knob).
-
@d-healey no? It's a metal knob that took 2 hours to render
-
@imakebeats Ah ok I see it now, for some reason my image previewer was just showing it empty. This image is going to eat up your RAM!
-
@imakebeats Have you set the right direction, isVertical or not?
and yes it's a very big filmstrip
-
Works here
As @HISEnberg mentioned, your image is way to big. The width of the knob is 987 (which does not divide evenly so you might want to adjust that). This one image will use up 228mb of RAM and will have to be shipped in a separate file to your plugin. I suggest you make a much smaller knob.
-
@d-healey ahh ok well then... thanks
wait, if it has to be a seperate image file, then how would I make it not be a seperate file? Otherwise I can't use a custom image
-
@imakebeats When you compile your plugins, it's usual that all your images are embedded in the binary. But if you have more than 50mb of images they need to be in a separate data file that is placed in the user's app data folder - this complicates the install process, especially on MacOS.
Here are the relevant docs - https://docs.hise.audio/working-with-hise/settings/project.html#embed-image-files
-
@d-healey Ah. I compressed the image to 2 megabytes so it should be fine now I think.
-
@imakebeats Compressing the image doesn't help. Once it's in memory it is expanded to standard bitmap size, you can see it in the pool tables window in HISE. For your image it's 228mb
-
@imakebeats Just to start with it is probably worth going back to whatever software you made the knob with, and giving the knob the same dimension sizes as the knob will be in the plugin.
-
@HISEnberg Second recommendation is to learn HISE's LAF.
-
@d-healey is this only noticable when creating a package installer for the user?
what i mean is, i had over 50mb of images embedded, but i was still able to compile my plugin and get it to work in my DAW.I have not created an installer yet on MAC with Whitebox Packages or on pc yet.
I have only installed on my own systems so far
is that where it would crash? -
@jeffd said in Filmstrip not working:
is that where it would crash?
I think it's mainly a Windows issue with Visual Studio. You can enable a thing called bigobj which I believe allows you to compile with more than 50mb of RAM. In the DAW I'm not sure if plugin instances will share the embedded images or if each one will use up the full amount of memory.
-
@d-healey just went in and changed the scale of my knob so its not a problem anymore.
but the limit is 50mb. good to know.
thanks