View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005584ParaView(No Category)public2007-08-27 18:332007-08-29 12:18
ReporterKen Moreland 
Assigned ToUtkarsh Ayachit 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005584: Clamp animation values outside of keyframe range
DescriptionWhen an animation time is set outside of the range of keyframes for a particular property, it should clamp the value of that property to the closest keyframe. Otherwise, the animation gets messed up when you skip around in the animation.

For example, consider the animation defined in the attached state file. It has a single sphere source and animates the end theta from 0 to 360 from time 0 to 0.5 and animates start theta from 0 to 360 from time 0.5 to 1.0. If you play the animation in a loop, you get a sphere that forms and disappears.

However, because the tracks to not span over all time, things get messed up if you jump around in time. Try this. Go to time 1. Then go to time 0.75 and then go to time 0.25. At time 0.25 you would expect the upper hemisphere that would appear if you were playing the animation in a loop, but instead you get nothing. This is because the start theta is still at 180 instead of 0 as you would expect.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files? file icon AnimateSphere.pvsm [^] (69,357 bytes) 2007-08-27 18:33
png file icon AnimateSphere.png [^] (66,925 bytes) 2007-08-27 18:34

 Relationships

  Notes
(0008688)
Ken Moreland (manager)
2007-08-27 18:34

I have added a screen capture of the animation view so that the animation can be more easily created if the state file does not load correctly.
(0008709)
Clinton Stimpson (developer)
2007-08-28 12:49

Utkarsh, should this be handled by the server manager?
(0008715)
Utkarsh Ayachit (administrator)
2007-08-28 13:43
edited on: 2007-08-28 14:29

Yes, it should be handled in SM. I'll take a look.

(0008724)
Utkarsh Ayachit (administrator)
2007-08-28 15:41

If the first keyframe use added has key time > 0.0, wecreate a copy of the first keyframe and add it at time 0.0. The type of the copy is
typically a BooleanKeyFrame and is defined in the xml configuration.

/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMKeyFrameAnimationCueManipulatorProxy.cxx,v <-- vtkSMKeyFrameAnimationCueManipulatorProxy.cxx
new revision: 1.18; previous revision: 1.17
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMKeyFrameAnimationCueManipulatorProxy.h,v <-- vtkSMKeyFrameAnimationCueManipulatorProxy.h
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMKeyFrameProxy.h,v <-- vtkSMKeyFrameProxy.h
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/utilities.xml,v <-- utilities.xml
new revision: 1.132; previous revision: 1.131

 Issue History
Date Modified Username Field Change
2007-08-27 18:33 Ken Moreland New Issue
2007-08-27 18:33 Ken Moreland File Added: AnimateSphere.pvsm
2007-08-27 18:34 Ken Moreland File Added: AnimateSphere.png
2007-08-27 18:34 Ken Moreland Note Added: 0008688
2007-08-27 18:35 Ken Moreland Status backlog => tabled
2007-08-27 18:35 Ken Moreland Assigned To => Clinton Stimpson
2007-08-28 12:48 Clinton Stimpson Assigned To Clinton Stimpson => Utkarsh Ayachit
2007-08-28 12:49 Clinton Stimpson Note Added: 0008709
2007-08-28 13:43 Utkarsh Ayachit Note Added: 0008715
2007-08-28 14:29 Utkarsh Ayachit Note Edited: 0008715
2007-08-28 15:41 Utkarsh Ayachit Status tabled => @80@
2007-08-28 15:41 Utkarsh Ayachit Resolution open => fixed
2007-08-28 15:41 Utkarsh Ayachit Note Added: 0008724
2007-08-29 12:18 Ken Moreland Status @80@ => closed
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team