Page 1 of 2
Can I use a custom skin to fill the empty space in a knob?
Posted: 25 Dec 2012 19:15
by Traxus
I would like to, if possible, increase the width of the area that a knob or encoder takes up. At the moment, the active area is a border on the inside of a circle defined by the height/width of the knob object as a whole, I'm basically looking for a way to increase the width of this border, as to lessen the area of dead space in the center of the knob:
- platterDisplay.jpg (61.96 KiB) Viewed 2756 times
I did some digging within the skin files, and noticed that the knob object is its own xml file rather than a set of .pngs...
Anyhow, is this something that could be accomplished with skinning? I have a sinking feeling it isn't, but I'd like to be sure, thanks.
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:18
by Softcore
I really think though the "dead space" is only visually a dead space...i.e. if you touch inside this space, you still control the knob...Or am I wrong?
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:27
by nick_liine
Knob and RingArea are rendered programmatically, the other objects use bitmaps. In any case, we haven't built any way for user skin customization at the moment. Nice suggestion for the Knob though!
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:44
by Traxus
Softcore wrote:I really think though the "dead space" is only visually a dead space...i.e. if you touch inside this space, you still control the knob...Or am I wrong?
No, its definitely dead space, as I was able to mimic this desired look by adding a series of smaller encoders within the largest one and syncing them up with scripting.
nick_liine wrote:Knob and RingArea are rendered programmatically, the other objects use bitmaps. In any case, we haven't built any way for user skin customization at the moment. Nice suggestion for the Knob though!
That was my intuition but I wanted to be sure before I started hacking. Alternately, per my other thread you guys might want to consider making an all out platter element, although that wouldn't be nearly as much fun as it appears the capability already exists to create it.
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:46
by Softcore
Also, +1 on the ability to create custom skins - the first thing that came to mind, when skins were out was for example to combine different "looks" from different skins ('pixel" fader in a all around "classic skin" etc etc)
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:49
by Softcore
@Traxus
Create a knob huge enough to cover half the screen of iPad.......touch inside the dead space!
I understand of course why you would want the empty space filled (to resemble a platter for example) Im just saying in terms of control, its not dead space!
And frankly, I prefer it that way (not being dead space) because it totally makes sense when you use a knob with "linear" (my fav, possibly on the contrary to how people use knobs with Lemur) mode!
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:54
by Traxus
Softcore wrote:@Traxus
Create a knob huge enough to cover half the screen of iPad.......touch inside the dead space!
I understand of course why you would want the empty space filled (to resemble a platter for example) Im just saying in terms of control, its not dead space!
You're right, I had it backwards the space OUTSIDE is dead. I had fooled myself because the encoders I had filled the center with were actually in front of their larger counterparts, so when I was coding to detect which had an active Z value, the smaller ones in the center would fire the signal if touched because they were a layer above...
This makes my life a bit easier...
**edit, actually, there is no dead space, oops.
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 19:59
by Softcore
Traxus wrote:
This makes my life a bit easier...
yeah I think so too....if you "send to back" all the smaller internal knobs then whenever (and wherever) you touch only the huge one is affected....Then I think with a simple script that makes all "x"s equall you have your "platter".
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 20:05
by Softcore
Re: Can I use a custom skin to fill the empty space in a kno
Posted: 25 Dec 2012 20:21
by Traxus
Huge derp moment for me, and here I was getting all giddy about using the Z value to prevent two of them from being active at once...