473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Slow Animation Performance with Multiple Animations

In WPF (even with considerable improvement in version 3.5), while running
multiple animations in a single window, The performance of one animation
suffers a lot.

for example, i have two image transitions on two independent Canvases on a
Grid.

1. is simple, slide transformation running, continously from left to right
with multiple images.
2. 3D transitions over multiple images.

Even after first run, when the images have beeen cached, when the 3D
Transition happens, there are lots of jerks in the first transition.

What are the reasons and ways to avoid it, if any.


Feb 7 '08 #1
4 3618
Can you post an example of the problem?

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"vineet" <vi****@discussions.microsoft.comwrote in message
news:FE**********************************@microsof t.com...
In WPF (even with considerable improvement in version 3.5), while running
multiple animations in a single window, The performance of one animation
suffers a lot.

for example, i have two image transitions on two independent Canvases on a
Grid.

1. is simple, slide transformation running, continously from left to right
with multiple images.
2. 3D transitions over multiple images.

Even after first run, when the images have beeen cached, when the 3D
Transition happens, there are lots of jerks in the first transition.

What are the reasons and ways to avoid it, if any.


Feb 7 '08 #2
Hmm, Several well known authors cite the fact that the animation system is
indeed the most costly of the WPF features.

The capabilities of the system will also be likely to change depending on
the graphics card capabilities for DX9.

As well as posting the example as Nicholas suggests can you post the DXDIAG
report too?

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"vineet" <vi****@discussions.microsoft.comwrote in message
news:FE**********************************@microsof t.com...
In WPF (even with considerable improvement in version 3.5), while running
multiple animations in a single window, The performance of one animation
suffers a lot.

for example, i have two image transitions on two independent Canvases on a
Grid.

1. is simple, slide transformation running, continously from left to right
with multiple images.
2. 3D transitions over multiple images.

Even after first run, when the images have beeen cached, when the 3D
Transition happens, there are lots of jerks in the first transition.

What are the reasons and ways to avoid it, if any.

Feb 8 '08 #3
Hi,
Sorry for the (very)late reply

Here is a link to attached solution,
http://www.mediafire.com/?5d1xl0cwzug

Note whenever the animation on the upper imageslide show starts, esp, 3D
Transition, the animation in the bottom strip shakes.
tried using both Animation Subsystem of WPF as well as
CompositionTarget.Rendering

Also here is the dxdiag report as asked by Bob Powell.
http://www.mediafire.com/?bjsixwahm44
Thanks.


"Nicholas Paldino [.NET/C# MVP]" wrote:
Can you post an example of the problem?

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"vineet" <vi****@discussions.microsoft.comwrote in message
news:FE**********************************@microsof t.com...
In WPF (even with considerable improvement in version 3.5), while running
multiple animations in a single window, The performance of one animation
suffers a lot.

for example, i have two image transitions on two independent Canvases on a
Grid.

1. is simple, slide transformation running, continously from left to right
with multiple images.
2. 3D transitions over multiple images.

Even after first run, when the images have beeen cached, when the 3D
Transition happens, there are lots of jerks in the first transition.

What are the reasons and ways to avoid it, if any.




Feb 20 '08 #4
Hi,
Sorry for the (very)late reply

Here is a link to attached solution,
http://www.mediafire.com/?5d1xl0cwzug

Note whenever the animation on the upper imageslide show starts, esp, 3D
Transition, the animation in the bottom strip shakes.
tried using both Animation Subsystem of WPF as well as
CompositionTarget.Rendering

Also here is the dxdiag report as asked by Bob Powell.
http://www.mediafire.com/?bjsixwahm44
Thanks.

"Bob Powell [MVP]" wrote:
Hmm, Several well known authors cite the fact that the animation system is
indeed the most costly of the WPF features.

The capabilities of the system will also be likely to change depending on
the graphics card capabilities for DX9.

As well as posting the example as Nicholas suggests can you post the DXDIAG
report too?

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"vineet" <vi****@discussions.microsoft.comwrote in message
news:FE**********************************@microsof t.com...
In WPF (even with considerable improvement in version 3.5), while running
multiple animations in a single window, The performance of one animation
suffers a lot.

for example, i have two image transitions on two independent Canvases on a
Grid.

1. is simple, slide transformation running, continously from left to right
with multiple images.
2. 3D transitions over multiple images.

Even after first run, when the images have beeen cached, when the 3D
Transition happens, there are lots of jerks in the first transition.

What are the reasons and ways to avoid it, if any.


Mar 4 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Simena Dinas | last post by:
KToon: 2D Animation Toolkit KToon is a 2D Animation Toolkit designed by animators (Toonka Films) for animators, focused to the Cartoon's industry. This project is covered by the GPL License...
5
by: Brian Angliss | last post by:
I'm relatively new to scripting in JavaScript, so I'm not too surprised I'm having difficulty scripting up an animation effect for my personal site. What I'm trying to do is the following: When...
6
by: Darren | last post by:
X-No-Archive Hi all, Can anyone help me with structuring the data in a small tool I have to build? I'm trying to work out if there's a design pattern or data structure that would remove some...
0
by: Thag | last post by:
Hi! I am currently trying to get an overview about the possibility of separating graphical data from its animations. More specifically speaking, the graphical data is made up from 3D-CAD...
1
by: softwaredeveloper | last post by:
Hi friends, I am very new here, could you please give me some suggestions? Is FLASH the right technology? Or if there is any better solution? Purpose - To generate multiple simple moving...
0
Frinavale
by: Frinavale | last post by:
I have a peculiar problem with an UpdatePanelAnimationExtender wherein the animation for the OnUpdating event only fires the first time the UpdatePanel it target's performs a PostBack. The...
0
by: shapper | last post by:
Hello, I need to create the following code at runtime: <ajaxToolkit:UpdatePanelAnimationExtender ID="upae" BehaviorID="animation" runat="server" TargetControlID="updatePanel"> <Animations>...
4
by: Sin Jeong-hun | last post by:
Most applications, including Windows Explorer, show some sort of 'wait' dialog with animation when a lengthy operation is going on. For example, When the Windows Explorer is searching for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.