Trails in animation?
- MattPaulissen
- Posts:26
- Joined: Fri Feb 19, 2016 9:27 pm
Trails in animation?
I'm messing around with some of the animations, specifically moving around some text boxes, but when I do they leave a bunch of trails. Kind of like after images from where the text box moved. Is there a way to stop this from happening, or tell it to redraw the screen or something. If I resize the screen at any point after all the trails are erased and it looks normal.
- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: Trails in animation?
Hi,
I made a test (in WinCC OA version 3.15 P7) using simple Text shapes and Textfiled shapes, but I was not able to reproduce this behavior.
What I tested is the following: in a Panel I changed per script the position of the text and the text field shapes. I did also the test with activated background image for the panel.
Could you please describe in details what you have done (maybe send a simple Panel to show us how to reproduce the problem ).
Which WinCC OA version are you using.
LG,
Mousser
I made a test (in WinCC OA version 3.15 P7) using simple Text shapes and Textfiled shapes, but I was not able to reproduce this behavior.
What I tested is the following: in a Panel I changed per script the position of the text and the text field shapes. I did also the test with activated background image for the panel.
Could you please describe in details what you have done (maybe send a simple Panel to show us how to reproduce the problem ).
Which WinCC OA version are you using.
LG,
Mousser
- MattPaulissen
- Posts:26
- Joined: Fri Feb 19, 2016 9:27 pm
Re: Trails in animation?
Sure!
I made an animation group of several moves and resizes for two different objects. Here is the code
int animationGroup2;
animationGroup2 = createAnimation("sequential");
animate(animationGroup2, "PRIMITIVE_TEXT3", "backCol", "{255,255,255}", "{255,255,255,0}", makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "position", makeDynInt(235, 432), makeDynInt(235, 449), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "sizeAsDyn", makeDynInt(41, 21), makeDynInt(0, 0), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "visible", TRUE, FALSE);
animate(animationGroup2, "PRIMITIVE_TEXT5", "position", makeDynInt(151, 410), makeDynInt(151, 449), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT5", "sizeAsDyn", makeDynInt(126, 23), makeDynInt(0, 0), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT5", "visible", TRUE, FALSE);
I made an animation group of several moves and resizes for two different objects. Here is the code
int animationGroup2;
animationGroup2 = createAnimation("sequential");
animate(animationGroup2, "PRIMITIVE_TEXT3", "backCol", "{255,255,255}", "{255,255,255,0}", makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "position", makeDynInt(235, 432), makeDynInt(235, 449), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "sizeAsDyn", makeDynInt(41, 21), makeDynInt(0, 0), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT4", "visible", TRUE, FALSE);
animate(animationGroup2, "PRIMITIVE_TEXT5", "position", makeDynInt(151, 410), makeDynInt(151, 449), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT5", "sizeAsDyn", makeDynInt(126, 23), makeDynInt(0, 0), makeMapping("duration", 360, "easingCurve", "InBack"));
animate(animationGroup2, "PRIMITIVE_TEXT5", "visible", TRUE, FALSE);

- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: Trails in animation?
Hello ,
I made a test with your script and using primitive texts, but I was not able to reproduce the Problem.
Which WinCC OA Patch are you using? OS?
Can you reproduce the Problem in a simple Panel, with only primitive texts.
Are you starting the panel in a Desktop UI? Or ULC UX?
Are you animating the texts over special shapes (e.g. EWOs, Active X)?
BR,
Mousser
I made a test with your script and using primitive texts, but I was not able to reproduce the Problem.
Which WinCC OA Patch are you using? OS?
Can you reproduce the Problem in a simple Panel, with only primitive texts.
Are you starting the panel in a Desktop UI? Or ULC UX?
Are you animating the texts over special shapes (e.g. EWOs, Active X)?
BR,
Mousser
- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: Trails in animation?
Hello again,
I activated the boder on the text and set the border width to a value > 1 and now I can also see the Problem.
With a borber with = 1 the Problem doesn´t occur.
I forwarded this to our development department for further analysis.
BR,
Mousser
I activated the boder on the text and set the border width to a value > 1 and now I can also see the Problem.
With a borber with = 1 the Problem doesn´t occur.
I forwarded this to our development department for further analysis.
BR,
Mousser