Image strips with LAF Rotary Sliders
-
I know this is completely against to the Look and Feel purpose, but is it possible to use the Look and Feel with the image strips? Maybe obj.filmstripimage and obj.numberofstrips can be added? Or any idea?
Blending a knob image with vectors in one place would be really fast and useful rather than using separate panels.
-
@harris-rosendahl You can load images in LAF (https://docs.hise.audio/scripting/scripting-api/scriptlookandfeel/index.html#loadimage)
and I assume it's possible to just draw a section of the image, if so you can achieve what you want.g.drawImage()
has offset parameters so you can draw just part (1 frame for example) of the image at a time. -
@d-healey Thank you so much for the suggestion.
It's a shame that partly frames can be used, but I will try to use it.
By the way, whole filmstrip would be awesome. -
@harris-rosendahl
It's a shame that partly frames can be used, but I will try to use it.
By the way, whole filmstrip would be awesome.I think you misunderstood. You can load the entire filmstrip and use the offset just to show one frame at a time based on the knob's value - to animate it.
-
@d-healey said in Image strips with LAF Rotary Sliders:
I think you misunderstood. You can load the entire filmstrip and use the offset just to show one frame at a time based on the knob's value - to animate it.
Oh, my bad :) I will check it out soon, very excited. Thank you so much again.
-
HiseSnippet 1199.3ocsW0raaaDDdorYpkRSQCPt0hhE5jTfhhnc9o.FEV1xREpw+nZ4FzhhBiUjKE2ZxcIVtx1pAFnWJPeExs9XzdrnOB8EH26kh9BjNKIkHcrbrrZCOXnYm4a2uY1YlcbOovlFEIjHihGNNjhLdey9i4JuVdDFG0cajwGativl3uylcvQ9LGpDeJS4g8DmPknsFGRhhnNHCik9bMBihKih+96M1h3S31zrkPnmKX1zcXALU1p8Z9LlueGhC8PVPNqeTyt1BdKguXDvtkLafBI1GSFR2inMqfIx3VscXJgruhnnQHik2R3Ltum3Tdh8OmEwF3S0BVn9vFkrbGguilw5UQs7X9N8lDEhPvtzKKlrTRL4dl6xbXSWOK17gwJvYHxGOLJbQ5szEnmUd50HG8lAkLxQokSnzcM6aKYgpLMZ9baytbEU5RfvddpjXKpv+Tvrk.rfqpGPNl1QBBSQT4IMZTCC+o55kJAg9HE9DhDOTF9LtX.9yve6DrCopVhfPAGDpTVq0pb0Zkvy56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H5ecmEeJJ
EDIT : added info about the knob's ranges. To use this snippet you'll obviously need to use your own image.
@d-healey @harris-rosendahl However with
draw.image
, you can only use values between 0...1.
Chaging the skew value or using any other value range, even by usingobj.valueNormalized
messes up the animation. Or am I missing something ? -
@Matt_SF I've just tried this snippet, the animation messes up even between 0..1 here.
-
@harris-rosendahl The offset is in pixels. I'm putting together an example now.
-
Here's my example, almost exactly the same as @Matt_SF's
-
Oh, thank you so much @d-healey it works great in this example! Now this image strip can be blended with vector graphics of the LAF rotary sliders
-