快速登录:  

Forum: VirtualDJ Technical Support

话题: Visual-Elements don't work with Clipmasks

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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.
 

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

发表时间 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.
 

发表时间 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
 

发表时间 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
 

发表时间 Mon 15 Jan 18 @ 10:24 pm


(陈旧帖子或论坛版块会自动关闭)