From the original SynthMaker forum (2004–2014), with its members’ names and dates.
HansM ·
I've been searching this forum first, but I get so many hits and get lost in all the descriptions, so please excuse me for asking a (probably) repeated newbie question:
How do you guys create graphical knobs? I found the GUI control that loads a stitched bitmap, but also found an example of a dynamically rotated knob. What's the right (CPU efficient) way to to this? Create the stitched png with other software and just load it? or do you all use the rotate/save stitched file project to store the png file? or just use a single png/bitmap and rotate it dynamically?
I've spend some days working on this, but don't get anywhere... when I try to modify the examples (of which there are a lot), I find that I don't really know what I'm doing, because I haven't found the reference manual yet.
Thanks,
Hans.
Shifrin ·
If I am using png files of knobs (as opposed to knobs generated using SM primitives) I just use a stitched png file. I design the knobs in Blender and export the frames of the animation before stitching them in Tobybears stitch studio 🙂
I've never tried actually rotating a single bitmap on the fly, probably as it'll use a little more CPU and you won't get realistic lighting/shadows etc.
The project that generates a stitched knob image is useful for creating knobs that might be a little more time consuming to create in another application.
Shif.
HansM ·
Thanks. That's the kind of direction that I was hoping for...
infuzion ·
[quote="Shifrin"]I've never tried actually rotating a single bitmap on the fly, probably as it'll use a little more CPU and you won't get realistic lighting/shadows etc./quote]According to my testing with vector, it depends how often you redraw the area. Lots of redraws/knob "resolution", lots of CPU.
HansM ·
btw at kvr I also saw artvera's post this weekend, she has many sets of GUI elements on her website. Anyone using those?
Tom7777 ·
btw at kvr I also saw artvera's post this weekend, she has many sets of GUI elements on her website. Anyone using those?
I must have missed that, do you have a url?
stefan ·
http://www.artvera-music.com/
Tom7777 ·
Thanks stefan 🙂
MyCo ·
http://music-spy.de/knob.osm
That's the bitmap knob I use. My bitmap contains 19 knob states, and is (half) transparent.
If you want to use another bitmap, you can load it with the property dialog.
fritzman ·
MyCo wrote: http://music-spy.de/knob.osm
That's the bitmap knob I use. My bitmap contains 19 knob states, and is (half) transparent.
If you want to use another bitmap, you can load it with the property dialog.
Hi MyCo,
thanx a lot for your knob. Just yesterday late I was working with GUI stuff and was deep into knobs and such and this example of you comes right in time for my further learning fun. Cool. 😀
All the best, FRitz
HansM ·
btw. I just found out about Tobybear's AniMan, and his stitcher, to do the rotation and stitching, after you have decent pictures to start with.
Wrote something here? To have a post removed or your name hidden, write to [email protected].