THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/07/2004 at 14:43, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C++ ;
did anybody ever make a TrackData Plugin work in Cinema C++ SDK?
How does it work? The SDK Help gives NO suitable Information. I just want to code a Little Plugin that sets Editor- and RenderMode of Objects on and off.
But TrackData only consists of virtual Bool animate(...); There is no InsertSequence or anything helpful for using instances of it in the rest of the c++ program 'cause it's derived from NodeData and not BaseTrack.
Can anyone give me a little Example?
Is there another possible way to solve the problem with standard animation tracks?
Is there any way to get ojn examples that do NOT only work with SDK 7.x ?!?
Please help me it's urgent 'cause my Bachelor of Science depends on it
On 15/07/2004 at 22:27, xxxxxxxx wrote:
Just as with the other NodeData-PluginNode pairs, you can create a PluginTrack with "AutoAlloc_<_plugintrack_>_ track(pluginid)".
On 16/07/2004 at 02:11, xxxxxxxx wrote:
thank you for your quick reply but it unfortunately does not answer my question....
I still cannot access typicel TrackMembers like InsertSequence which is neccessary to make an animation run... how is the concept of TrackDate meant?!?
On 17/07/2004 at 15:58, xxxxxxxx wrote:
Huh? PluginTrack is-a BaseTrack, which has InsertSequence(). PluginTrack is what you use in C4D, TrackData is what you use to define the behaviour of your plugin track. For each PluginTrack instance there's a TrackData instance created, accessible with GetNodeData().
On 17/07/2004 at 18:47, xxxxxxxx wrote:
Oh then I was not able to use your information the right way - that is the problem when you have no straight introduction to that - I sometime found TrackData in the sdk help with the following text:
"A data class for creating time-line track plugins. Use RegisterTrackPlugin() to register the plugin."
Which misleading text I interpreted as description for THE TrackPlugin class. So I did not look further to find TrackPlugin - obviously your Blinker Example also just uses these Data Classes so i was confused in a confusing manner...
Also the information under "Plugin Structure" does not say anything about the real plugin - classes :-<
On 19/07/2004 at 01:40, xxxxxxxx wrote:
Thanks for pointing that out. I'll try to make it clearer in the next docs.