Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Slow Animation Performance with Multiple Animations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vineet - 07 Feb 2008 13:18 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.