Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: SKIN ENGINE: doesn't work
I'm making a skin and want to use a clipmask to hide part of the <visual> to make a VU, but when I use color inside a visual, it doest work.

This code, doesn't work, the clipmask is not aplied
<visual source="get_level_left" type="linear" orientation="vertical">
<pos x="+1" y="+0"/>
<size width="88" height="411"/>
<down color="red" />
<clipmask x="438" y="309" />
</visual>



But this works:
<visual source="get_level_left" type="linear" orientation="vertical">
<pos x="+1" y="+0"/>
<size width="88" height="411"/>
<down x="438" y="725"/>
<clipmask x="438" y="309" />
</visual>



I have to put an image in the png to make the clipmask work. I also tried with <mask>, but it doesn't work

 

Mensajes Thu 22 Aug 24 @ 10:26 pm
Clipmask should be a BLACK AND WHITE image. It seems not in your case.
As for PNG, yes, clipmask can be avoided in a lot of cases if you use transparent graphics.
 

Mensajes Fri 23 Aug 24 @ 7:46 am
This is how my clipmask is on my png file. it works when I change the code to use a solid blue rectangle in png, but with vector graphics, it doesnt work


and sorry for the tittle of this topic, I put <clipmask> on the tittle but it seems that the forum doesnt allowed.
 

Mensajes Fri 23 Aug 24 @ 4:07 pm
PhantomDeejay wrote :
Clipmask should be a BLACK AND WHITE image. It seems not in your case.
As for PNG, yes, clipmask can be avoided in a lot of cases if you use transparent graphics.


Can I ask you to please test it? My mask is in Black and White
 

Mensajes Thu 29 Aug 24 @ 10:41 pm
AdionPRO InfinityCTOMember since 2006
clip mask indeed only works for images.
Do you actually need the clip mask though?
You could also draw the rounded border on top of the vu?
 

Mensajes Fri 30 Aug 24 @ 5:13 am
Adion wrote :
clip mask indeed only works for images.
Do you actually need the clip mask though?
You could also draw the rounded border on top of the vu?


The skin that I designed has the VU meter around the channel and I want to represent the LEF and RIGHT vu accordingly and want to avoid png graphics, the entire skin is 99% vector based.


 

Mensajes Fri 30 Aug 24 @ 7:45 pm