SynthMaker

Knob that transform a bitmap layer

Archive · 2012 7 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Chaoslala ·

This is just an idea i have. A gui composed by a unique picture. The knob just make rotate an area in this picture. The sliders make move an area..

So we could make complex graphic gui and "paint" every control like we want..

trogluddite ·

I see no reason why not. There would be a slight CPU increase compared to the usual "animation frames" method - just because rotating graphics takes a bit more working out. But on the other hand, I'm quite a fan of "unique" controls for each purpose - somehow symbols/colours etc. work better for me to find the right control than identical looking knobs with text to read. But with "strip" animations that means lots of bitmaps to keep organised. Editing just one picture that shows the whole GUI sounds really attractive. The only other problem I can see is that SM can only deal with square/rectangular areas - so controls would need to be surrounded by areas of flat colour (no texture/gradient) - otherwise the square edges of the rotated areas might look a bit messy (or maybe psychedelic and cool!).

trogluddite ·

Hi again, Hope you don't mind, but I used my moderator "superpowers" to move your thread into the Graphics Forum - it's not possible to upload attachments in the "Ideas and Requests" forum (that forum is really for requests to the program developers - but we're not sure if they really read it!). Your idea really caught my eye, so I thought it would be nice to put it somewhere that people can share some crazy ideas!

Here's something very quick and silly that I knocked up, inspired by your post - it's a very challenging game called "Find the Knobs" (promise, no cheating by looking for the "little hand" cursor!!!!)

The "Invisible knobs" trick will work with any bitmap big enough to fill the panel - everything shares a single bitmap. As well as showing the "square areas" problem quite well, it also shows another little hassle - when you move controls around the panel (when editing), they don't have any way to know where they are! - hence the "X" and "Y" inputs to the knob modules (you can read those values when a GUI is selected for editing a front panel - hint: click on the numbers to change from grids to pixels). But neither of those problems are huge - so long as controls have a bit of "space" around them, the "square areas" need not be a problem - and the X,Y thing only takes a few seconds to sort out (if the front panel is all one bitmap, you won't be moving them too often anyway).

Chaoslala ·

I love it ! Thanks ! 🙂 The circle limitation could maybe be fixed with another bitmap layer with transparancy.

trogluddite ·

Glad you like it! 🙂

Chaoslala wrote: another bitmap layer with transparancy.

Yes, I've been thinking about this myself. It is possible to take small sections of a bitmap, or even individual pixels, and create a new bitmap from them using SM components. So a circular area could be "scanned" into a new knob bitmap with transparent 'edges'. Certainly, simple shapes like circles, triangles could be done. Doing this uses a lot of CPU power, but, the moving parts only need "creating" once, when a new "master" bitmap is loaded - so it need not be a problem. The small sections will be remembered inside the schematic, and don't need re-making even when saving/loading the plugin.

Chaoslala ·

I combined it with an another module. we can make it move with key. Press G to go left, j is right and y = jump. Could be a way to easily place the knob.

philter5 ·

...great schematic trog , when you load the right pic´s in it you can even create some nice 3d looking shapes with it (birds eye view by rotating some sides 45 degrees). really cool stuff 😀

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.