f-curves very slow - corrupt file?
-
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.zip1. 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
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/11/2006 at 18:21, xxxxxxxx wrote:
BaseTrack, BaseSequence, BaseKey, PLAKey (etc.) are all deprecated. None of these work in R10.
Use CTrack, CCurve (automatic from CTrack), and CKey instead. Until there is R10 SDK documentation, I suggest going to your R10 resource/_api folder and having a look at c4d_canimation.h. There you will find the classes and methods for each of these defined.
Beyond that, I don't know much more than anyone else it seems. Still waiting for information on how to do PLA animation in R10 using the SDK.
I haven't played with R10 enough to have tried the f-curve display. If I have the opportunity, I will report back.
Take care,
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/11/2006 at 11:29, xxxxxxxx wrote:
Hi Robert,
Thanks for the info, at least I know where to start now!Cheers - Steve