Sie sind nicht angemeldet.

1

Sonntag, 21. März 2010, 10:47

Plugin effects

Hi there

The release notes for 1.0.8 beta 9 say that the same textstyle effects can be used for plugins, but I'm not able to use them. I've tried these two things:

Zitat


<plugin name="m_language-changePT" url="files/flag_pt.png"
"..."

glow="12"
glowcolor="0xFFFFFF"
/>

Zitat


<plugin name="m_language-changePT" url="files/flag_pt.png"
"..."

effect="glow(0XFFFFFF,0.90,10,10)"
/>
I guess I'm just using it wrong. Any suggestions?

Thanks
PanoTag: Facebook tagging for krpano

KRPano development and more: http://www.digisfera.pt/en/development

2

Sonntag, 21. März 2010, 11:55

Hi emediquei,

I have made some tries... And it seems that setting values effects inside the effect attribute does not work... Perhaps it is a bug...
But setting them dynamically, works...
Try this:

Quellcode

1
2
3
4
5
<plugin name="m_language-changePT" url="files/flag_pt.png"
"..."
onloaded="set(effect,glow(0x000000,0.7,4,2);dropshadow(10,45,0x000000,3,0.5););"
effect=""
/>

or:

Quellcode

1
2
3
4
5
<events  onxmlcomplete="set(plugin[m_language-changePT].effect,glow(0x000000,0.7,4,2);  dropshadow(10,45,0x000000,3,0.5););" />
<plugin  name="m_language-changePT" url="files/flag_pt.png"
 "..."
   effect=""
 />


SAlut.

3

Sonntag, 21. März 2010, 12:25

Hi,

Now, I am not able to reproduce my first example (onloaded) *attention* *attention*
I do not know why...
The second example works....

SAlut.

4

Sonntag, 21. März 2010, 13:10

Thanks! The first example if working for me too. However, I'm also not able to do something like this in an action:

set(plugin[%1].effect,"glow(0xFFFFFF,0.7,12,2))");


Cheers
PanoTag: Facebook tagging for krpano

KRPano development and more: http://www.digisfera.pt/en/development

5

Sonntag, 21. März 2010, 13:15

Hmm, apparently what I said before also works, but only when no effect has been set before.
PanoTag: Facebook tagging for krpano

KRPano development and more: http://www.digisfera.pt/en/development

6

Donnerstag, 27. Mai 2010, 13:28

Hi,

the static "effect" bug will be fixed in version 1.0.8.11,

best regards,
Klaus