Slider issue
-
I created my own graphic for a slider and stitched it into 31 frames, with Photostitcher (windows software).
Here's what it's doing in Hise.
Slider Video -
@pcs800 it looks like you aren't dividing the frames into the correct vertical pixel height.
-
@Dan-Korneff
In that example, they are 128 pixels high.
I have the stitching software set to use no space between each one. -
@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.
-
@d-healey Bingo, it's not a whole number.
This stitching software must be adding space.
What does everyone else use? -
@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
-
@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 -
@Chazrox Ok thanks, I will look into it.
-
@d-healey Thanks David, I'll grab strip generator.
-
@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
-
@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.
-
@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.