Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Visual-Elements don't work with Clipmasks

This topic is old and might contain outdated or incorrect information.

I tried this:

<visual type="color" deck="1" source="get_loaded_song 'color'" visibility="loaded">
<size width="134" height="134"/>
<pos x="308" y="227"/>
<clipmask x="1130" y="10"/>
</visual>

And the clipmask does not do the thing it should do.
It just does nothing. As if this line wasn't there.
 

Posted Mon 08 Jan 18 @ 2:48 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Try <mask> instead of <clipmask>
 

Posted Mon 08 Jan 18 @ 3:06 pm
<mask> doesn't work either.

Maybe this is not implemented in this type of script/code-thing.
Would be nice to see that for a variety of masked color-functions.
 

Posted Sun 14 Jan 18 @ 3:08 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Definitely <mask> works for your case. But try to have transparent instead of white for the area that you dont want to be displayed.

BTW, the Pioneer DDJ-WEGo2 skin you will find in the Download Adons page uses mask to show the color around the 2 decks view and also uses gradient of black in the graphics to fade out the selected color. Unzip, open with Text Editor and see at line 2715
 

Posted Mon 15 Jan 18 @ 6:33 am
Ok now it works.
The mask in the PNG-File was wrong.
It has to be completely transparent except of the masking area.
I had it black and white like the in the older skins.

Thanks again! :D
 

Posted Mon 15 Jan 18 @ 10:24 pm


(Old topics and forums are automatically closed)