By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,221 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,221 IT Pros & Developers. It's quick & easy.

Slow Animation Performance with Multiple Animations

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.