SynthMaker

Layering order

Archive · 2009 8 old posts

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

Spirited Machine ·

Is there any way to control how graphics like bitmaps are layered? It seems like what ever was created most recently is automatically brought to the top. I'm not talking about the "bring to front" in the front panel. What I want to do is be able to control some sort of value while the program is running. Is this possible, even by doing something tricky? Thanks

oddson ·

If they're opaque then why not just hide the one you want to move back?

If they're not opaque you could use selectors to direct V outputs to a set of pre-ordered layers.

Spirited Machine ·

oddson wrote: If they're opaque then why not just hide the one you want to move back?

If they're not opaque you could use selectors to direct V outputs to a set of pre-ordered layers.

Hey Oddson, Thanks for the reply.

The first suggestion doesn't work due to the nature of the program I'm making. Think of it as a photo viewer, where the photos can be moved around, scaled, rotated, etc. And you can have as many on the screen as you want. They aren't directly stacked on top of one another.

The second suggestion looks good, but with a large number of images I'm guessing that could become a pain in the butt.

oddson ·

So the layers need to overlap (so hiding's not an option).

What determines the order? How many can you have at once?

Spirited Machine ·

Well I'm using ReacTIVisionsoftware to locate markers on a transparent tabletop. There are a bunch of markers (little cubes with images on bottom) and each one represents an image that will show up on the screen. The most basic control over layering would be the last one placed on the table is on top. (Back to front in order of placement on the table) I'm not sure how to achieve that when I'm not quite sure how many images we're talking about (between 5 and 10 most likely).

Spirited Machine ·

Alright I think I just had a eureka moment regarding this. I will have each marker output a 1 when placed on the table and have them summed up. The view for that image will go to a multiplexer where it is sent through the output of that summed up value at the moment it is placed on the table. Anyway, I think I have the basic idea, time to test it out. Definitely branching off of your suggestion above, thank you.

Spirited Machine ·

Got it working! And it was even easier to do than I thought. Man I love this program.

Spirited Machine ·

I made a separate thread about the completion of this project, if anyone is interested.

Link

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.