search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   Business Applications using Avalon

8/8/2005 1:51:03 AM    Rotate3dAnimate and OffsetAnimate not working properly together
hallo,  
  
I've got :  
  
2 animations: Rotation3DAnimation, OffsetAnimation(Vector3DAnimation).  
  
2 Transforms: RotateTransform3D, OffsetTransform3D  
  
1 TransformGroup: Transform3DGroup  
  
1 Model3DGroup: my3DGroup  
  
From the animations I create their respective clocks and add the appropriate  
  
clock to each of the transform like this :  
  
RotateTransform3D.GetAnimationClocks(RotateTransform3D.RotationProperty).Add(RotationAnimationClock)  
  
OffsetTransform3D.GetAnimationClocks(TranslateTransform3D.OffsetProperty).Add(OffsetAnimationClock)  
  
What my ultimate goal is is to animate the 3D plane from one position to the  
  
next and having both animations, described above, run concurrently without  
  
any wierd results. What I mean by wierd is this:  
  
Let's say the rotation animation has a center property equal to the plane's  
  
center. So when animating the plane by rotation it should rotate around it's  
  
center. Now, if I were to offset animate and rotate animate at the same time  
  
by initializing their clocks straight after each other, then the plane  
  
offsets to a different location because it's trying to rotate around the  
  
specified center (which seemingly changes due to the plane's position as it  
  
offsets) The Original center value doesn't change. So when the plane  
  
animates, Instead of moving straight to the destination offset value and at  
  
the same time rotating around it's own axis, it rotates around the original  
  
center value and offsets to a different location - it follows an arc-like  
  
path instead of straight to the destination. So in effect, it misses the  
  
destination but rotates to the correct angle.  
  
The only way to fix this would be to use paralleltimelines (which I cannot  
  
manage to implement in code - tried everything).  
  
any hints on this would really be well appreciated.  
  
Thanks  
  
regards  
  
Nathanael


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.