![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | How do you intentionally LOWER the framerate? If you are animating something that's inherently very slow-moving, such as the minute and hour hand on an analog clock, how can you intentionally make it update every 10 seconds or so instead of 60 times a second? I just want to limit the drain on my processor! Here's an example XAML DoubleAnimation element: .... in a TransformGroup... <RotateTransform x:Name="MinuteHandTransform" Angle="0" /> .... in a Storyboard ... <DoubleAnimation Storyboard.TargetName="MinuteHandTransform" Storyboard.TargetProperty="Angle" From="0" To="360" Duration="1:00:00" RepeatBehavior="Forever" /> I find no "Framerate" property on a Storyboard, Transform, or Animation. Flash can set Framerate. Aren't we doing lots of similar things as to what Flash can do? Wouldn't it be nice to limit the CPU cycles spent on some parts of an animation so other parts can get more emphasis? |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: How do you intentionally LOWER the framerate? Hi, Lorin Thwaits wrote: [snip] > I find no "Framerate" property on a Storyboard, Transform, or > Animation. Flash can set Framerate. Aren't we doing lots of similar > things as to what Flash can do? Wouldn't it be nice to limit the CPU > cycles spent on some parts of an animation so other parts can get more > emphasis? http://blogs.msdn.com/henryh/archive...25/607503.aspx Apparently, there is a StoryBoard.DesiredFrameRate property since Beta2 (May CTP). HTH, Laurent -- Laurent Bugnion, GalaSoft Software engineering: http://www.galasoft-LB.ch Private/Malaysia: http://mypage.bluewin.ch/lbugnion Support children in Calcutta: http://www.calcutta-espoir.ch |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: How do you intentionally LOWER the framerate? Yes, DesiredFrameRate is the way to go. This property can be assigned to any root timelines (in XAML, the parent Storyboard). "Laurent Bugnion" <galasoft-lb@bluewin.ch> wrote in message news:eK%23DQ3ZoGHA.4504@TK2MSFTNGP04.phx.gbl... > Hi, > > Lorin Thwaits wrote: > > [snip] > >> I find no "Framerate" property on a Storyboard, Transform, or >> Animation. Flash can set Framerate. Aren't we doing lots of similar >> things as to what Flash can do? Wouldn't it be nice to limit the CPU >> cycles spent on some parts of an animation so other parts can get more >> emphasis? > > http://blogs.msdn.com/henryh/archive...25/607503.aspx > > Apparently, there is a StoryBoard.DesiredFrameRate property since Beta2 > (May CTP). > > HTH, > Laurent > -- > Laurent Bugnion, GalaSoft > Software engineering: http://www.galasoft-LB.ch > Private/Malaysia: http://mypage.bluewin.ch/lbugnion > Support children in Calcutta: http://www.calcutta-espoir.ch |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: Here's how to intentionally LOWER the framerate for better perf! Laurent, Sure enough, that did the trick! My processor utilization went from around 60% down to an average 6.5%. Wonderful for anyone doing widget development for the Sidebar. Thanks again. -Lorin Laurent Bugnion wrote: > Hi, > > Lorin Thwaits wrote: > > > I find no "Framerate" property on a Storyboard, Transform, or > > Animation. Wouldn't it be nice to limit the CPU > > cycles spent on some parts of an animation so other parts can get more > > emphasis? > > http://blogs.msdn.com/henryh/archive...25/607503.aspx > > Apparently, there is a StoryBoard.DesiredFrameRate property since Beta2 > (May CTP). > > HTH, > Laurent > -- > Laurent Bugnion, GalaSoft > Software engineering: http://www.galasoft-LB.ch > Private/Malaysia: http://mypage.bluewin.ch/lbugnion > Support children in Calcutta: http://www.calcutta-espoir.ch |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: Here's how to intentionally LOWER the framerate for better perf! Btw, there's an example located at http://windowssdk.msdn.microsoft.com...framerate.aspx. "Lorin Thwaits" <lorint@gmail.com> wrote in message news:1152300423.569013.261740@p79g2000cwp.googlegroups.com... > Laurent, > > Sure enough, that did the trick! My processor utilization went from > around 60% down to an average 6.5%. Wonderful for anyone doing widget > development for the Sidebar. > > Thanks again. > > -Lorin > > > Laurent Bugnion wrote: >> Hi, >> >> Lorin Thwaits wrote: >> >> > I find no "Framerate" property on a Storyboard, Transform, or >> > Animation. Wouldn't it be nice to limit the CPU >> > cycles spent on some parts of an animation so other parts can get more >> > emphasis? >> >> http://blogs.msdn.com/henryh/archive...25/607503.aspx >> >> Apparently, there is a StoryBoard.DesiredFrameRate property since Beta2 >> (May CTP). >> >> HTH, >> Laurent >> -- >> Laurent Bugnion, GalaSoft >> Software engineering: http://www.galasoft-LB.ch >> Private/Malaysia: http://mypage.bluewin.ch/lbugnion >> Support children in Calcutta: http://www.calcutta-espoir.ch > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sudden framerate drops | nomis101uk | Vista Games | 1 | 11-05-2007 12:45 PM |
| Sudden framerate drops | nomis101uk | Vista General | 4 | 10-29-2007 03:06 PM |
| Sudden framerate drops | nomis101uk | Vista performance & maintenance | 0 | 10-28-2007 09:23 PM |
| Vista DWM Framerate | Arnfinn Haraldsen | Vista General | 0 | 08-22-2007 11:09 AM |
| old deleted revisited-intentionally the same as old post | Jeff | Vista mail | 9 | 12-12-2006 09:04 AM |