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.
Nicholas Paldino [.NET/C# MVP] - 07 Feb 2008 15:42 GMT
Can you post an example of the problem?

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> In WPF (even with considerable improvement in version 3.5), while running
> multiple animations in a single window, The performance of one animation
[quoted text clipped - 11 lines]
>
> What are the reasons and ways to avoid it, if any.
vineet - 20 Feb 2008 11:14 GMT
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.
> Can you post an example of the problem?
>
[quoted text clipped - 13 lines]
> >
> > What are the reasons and ways to avoid it, if any.
Bob Powell [MVP] - 08 Feb 2008 13:22 GMT
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?

Signature
--
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.
> In WPF (even with considerable improvement in version 3.5), while running
> multiple animations in a single window, The performance of one animation
[quoted text clipped - 11 lines]
>
> What are the reasons and ways to avoid it, if any.
vineet - 04 Mar 2008 10:04 GMT
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.
> Hmm, Several well known authors cite the fact that the animation system is
> indeed the most costly of the WPF features.
[quoted text clipped - 20 lines]
> >
> > What are the reasons and ways to avoid it, if any.