KnobMan, the VSTGUI AnimationKnob bitmap generator
-
- KVRAF
- 8389 posts since 11 Apr, 2003 from back on the hillside again - but now with a garden!
That looks like Max only consider transparency to be be on or off, rather than proper alpha blending which is effectively a crossfade between 2 images. Whereas it looks like the Max renderer is making a choice between one or the other.
It could be that either you can't use shadows like that, or you need to render shadows onto a background as part of the knob strip, then use the outline of the rectangle (or whatever shape background you used) to do the on/off transparency.
HTH
DSP
It could be that either you can't use shadows like that, or you need to render shadows onto a background as part of the knob strip, then use the outline of the rectangle (or whatever shape background you used) to do the on/off transparency.
HTH
DSP
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
mmmm.. how to do this?duncanparsons wrote:That looks like Max only consider transparency to be be on or off, rather than proper alpha blending which is effectively a crossfade between 2 images. Whereas it looks like the Max renderer is making a choice between one or the other.
It could be that either you can't use shadows like that, or you need to render shadows onto a background as part of the knob strip, then use the outline of the rectangle (or whatever shape background you used) to do the on/off transparency.
HTH
DSP
the upper line with the image with shadows and the bottom line with the mask of the knob without shadows?
i can try..
btw is orrible without the drow of the level indication all around the knob..
-
- KVRist
- 79 posts since 13 Aug, 2008 from France
Hi,
I don't know max/msp but it seems to me that you shouldn't (where possible) have a black & white (1bit) mask.
When KnobMan renders it, I'm pretty sure Alpha channel (transparency) is computed with 256 levels of gray (8 bits) so transitions are smooth and shadows as well as knob edges blend seamlessly into the background.
Can you dig this way ? (English is not my mother's tongue either)
Hope This Helps
I don't know max/msp but it seems to me that you shouldn't (where possible) have a black & white (1bit) mask.
When KnobMan renders it, I'm pretty sure Alpha channel (transparency) is computed with 256 levels of gray (8 bits) so transitions are smooth and shadows as well as knob edges blend seamlessly into the background.
Can you dig this way ? (English is not my mother's tongue either)
Hope This Helps
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
tks man..Art60 wrote:Hi,
I don't know max/msp but it seems to me that you shouldn't (where possible) have a black & white (1bit) mask.
When KnobMan renders it, I'm pretty sure Alpha channel (transparency) is computed with 256 levels of gray (8 bits) so transitions are smooth and shadows as well as knob edges blend seamlessly into the background.
Can you dig this way ? (English is not my mother's tongue either)
Hope This Helps
i'm not sure about the undestanding what you told me..
-
- KVRist
- Topic Starter
- 485 posts since 22 May, 2004 from Yokohama, Japan
If you need only the 'true' circle knobs, the simplest method is...
draw drop shadows as a part of the background image. and make the knob strip without drop shadows.
If you want something like Chicken-head-knob, you have to do more complex process (like DSP mentioned
)
draw drop shadows as a part of the background image. and make the knob strip without drop shadows.
If you want something like Chicken-head-knob, you have to do more complex process (like DSP mentioned
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
mmmm.. so, i have to get the image with shadows for the upper line (the visible one), end make the mask using ONLY the image shape without shadows? =)g200kg wrote:If you need only the 'true' circle knobs, the simplest method is...
draw drop shadows as a part of the background image. and make the knob strip without drop shadows.
If you want something like Chicken-head-knob, you have to do more complex process (like DSP mentioned)
am i right? =)
-
- KVRist
- 79 posts since 13 Aug, 2008 from France
I think g200kg is telling you it would be easier to build your still background surface with the buttons shadow already in place (their shape are constant whichever their position).
Then the buttons you want to draw on top with max/msp just have to be round, their mask too: as their shadow is already painted on the background, no problem with varying transparency and other "complex" stuff.
May be I misunderstood but I think I'm right.
Then the buttons you want to draw on top with max/msp just have to be round, their mask too: as their shadow is already painted on the background, no problem with varying transparency and other "complex" stuff.
May be I misunderstood but I think I'm right.
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
argh.. very hard for me..Art60 wrote:I think g200kg is telling you it would be easier to build your still background surface with the buttons shadow already in place (their shape are constant whichever their position).
Then the buttons you want to draw on top with max/msp just have to be round, their mask too: as their shadow is already painted on the background, no problem with varying transparency and other "complex" stuff.
May be I misunderstood but I think I'm right.
-
- KVRist
- Topic Starter
- 485 posts since 22 May, 2004 from Yokohama, Japan
background image means the panel graphics like this (that has drop shadows).

and knob strip has no shadows.

just only for the round knobs.
Thanks Art60

and knob strip has no shadows.

just only for the round knobs.
Thanks Art60
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
how to do with non uniform rgb background?g200kg wrote:background image means the panel graphics like this (that has drop shadows).
and knob strip has no shadows.
just only for the round knobs.
Thanks Art60
i use metal pannel for background.. you know.. the color is not uniform to seem realistic..
confused..
-
- KVRist
- 79 posts since 13 Aug, 2008 from France
You may draw your own with photoshop, paintshopPro, The Gimp etc. just droping a fuzzy circle some pixels down/right from the place you'd put your buttonsMetalSir wrote:how to do with non uniform rgb background?
i use metal pannel for background.. you know.. the color is not uniform to seem realistic..
confused..
You may also use g200kg complementary software called SkinMan.
This is the one he used for his top "Chorus" Image example.

-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
i'll try.. tks a lot!Art60 wrote:You may draw your own with photoshop, paintshopPro, The Gimp etc. just droping a fuzzy circle some pixels down/right from the place you'd put your buttonsMetalSir wrote:how to do with non uniform rgb background?
i use metal pannel for background.. you know.. the color is not uniform to seem realistic..
confused..
You may also use g200kg complementary software called SkinMan.
This is the one he used for his top "Chorus" Image example.
-
- KVRist
- 451 posts since 26 Jun, 2005 from Sweden
don't mind, i was looking at the wrong page....
-
- KVRian
- 774 posts since 1 Oct, 2006
so you have to have six frames just to make a switch that has an on off state? Is that what I am getting from this.MetalSir wrote:
GUI designers a resource list of artists: http://sukaudio.blogspot.com/
-
- KVRist
- 153 posts since 2 Feb, 2009 from Padova
mmmm.. for troggle, if you whant trasparency (and EVERYONE want it), you need to have all the frame of the button (with mouse on clicked and mouse off clicke) and all the black&withe masks..Hlis93 wrote:so you have to have six frames just to make a switch that has an on off state? Is that what I am getting from this.MetalSir wrote:
here is a troggle:

the first line has the OFF_NOT_CLICKED frame on left and the OFF_CLICKED frame on right.
the second line has the ON_NOT_CLICKED frame (left) and the ON_CLICKED frame (right).
3rd and 4th lines are simply the masks of the previous 2 lines.


