How to add a keyframe per frame ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/07/2006 at 12:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Hello everybody.To export animations data, I'd want to insert a keyframe per frame in already recorded animation sequences. I've written this little function to try to do that :
AddAKeyframePerFrame(sequence,fps) { var time; var frame; time=sequence->GetT3(); var last_frame=time->GetFrame(fps); for(frame=0;f<=last_frame;frame++) { time->SetFrame(frame,fps); var key=new(TimeKey); key->SetTime(time); sequence->InsertKey(key); } }
But this doesn't work (I see no keyframes added in the timeline window)...
Could someone explain me how to correctly manage keyframes ?
Thank you. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/07/2006 at 13:10, xxxxxxxx wrote:
At the moment it's not possible to allocate new keys with C.O.F.F.E.E. You will need to use C++ for that.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/07/2006 at 14:34, xxxxxxxx wrote:
Ok, I'll try with the C++ SDK.
Thanks a lot. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/07/2006 at 01:48, xxxxxxxx wrote:
Just another question.
I'm currently using the GCC compiler (MinGW32 on Windows) and I've set up my IDE (Codeblocks) importing a VC++ 7 project file included in the C++ SDK that (logically) gave me an incorrect configuration.
So, I'd like to know if there is a way to use GCC with the SDK, and how.Thanks.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/07/2006 at 07:30, xxxxxxxx wrote:
Nope. VC++ for Windows, CodeWarrior for Mac, XCode for Mac UB.
You could always try Microsoft Visual C++ 2005 Express. It won't compile 64-bit plugins, but will do for 32-bit plugins.