THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/11/2006 at 18:13, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform: Windows ;
Language(s) : C++ ;
---------
I've managed to create a simple project file under R10 which causes _extreme_ slowdowns in the f-curve viewer.
This project file was created whilst using one of my plugins (built against the 8.5 API), but the slowdown occurs with this project file even if no plugins are installed.
So, whether it was caused by my plugin or not (which has never caused any problems in earlier versions of C4D), there's something about this file that C4D doesn't like.
As a first step to trying to find out what this problem is, I'm trying to display the keyframe data in the console window, so I can at least see exactly what is in the file.
Problem is, keyframes/animation tracks are not something that I've really played with much in the API (and not something that my plugin tries to manipulate), and I'm having trouble figuring out how to get at this data.
I've been trying to use 'tag->GetFirstTrack()', but this is returning NULL. 'tag->getFirstCTrack()' returns Non-NULL, but I don't know how to use the returned object.
Does anyone have any code for dumping out this kind of information?
And has anyone else encountered any problems with the f-curve display running extremely slowly? (I'm not convinced that the problem was my plugin, since it doesn't meddle with keyframe data anyway. As such, it would be very useful to know whether anyone else has had similar symptoms)
If anyone would like to see the file, it's at:
http://www.astrofish.com/merging02b.zip
1. Open the file in R10 (ignore warnings about missing plugins).
2. Right-Click 'Cylinder' -> Show f-curves.
3. Timeline window appears but is _very_ slow.
Any help very much appreciated.
Cheers - Steve