How to get keyframe



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/03/2005 at 23:06, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.1 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi all,

    i tried to find in Sdk and in this forum the answer to my question: how to get keyframe value from a sequence.

    I need to read translation and rotation keyframe value of an object at specified time.

    Thanks
    Renato T.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/03/2005 at 23:15, xxxxxxxx wrote:

    Hi,

    try to use FindKey() method which comes under BaseSequence class...



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/03/2005 at 23:51, xxxxxxxx wrote:

    Hello Charles,

    ok, with FindKey or GetFirstKey i have a basekey but how i can read translation and rotation value?

    Thanks
    Renato T.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/03/2005 at 00:28, xxxxxxxx wrote:

    Hi,

    Once you get BaseKey, use GetTrack() which will return BaseTrack pointer value. Once you get BaseTrack details,
    I believe using GetDescriptionID() you should be able to find out what kind of track is it. Try this.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/03/2005 at 11:06, xxxxxxxx wrote:

    Argh..

    manage keyframes seem to be very hard in Cinema4D.
    I was hoping in a easy method to handle keyframes.

    Still i don't understand how i possible to get keyframes value.

    Thanks anyway
    Renato T.
    www.tarabella.it/c4d



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/03/2005 at 12:40, xxxxxxxx wrote:

    Charles explained it exactly.

    The value being modified in the TimeLine for an object (etc.) is specified by its Track (Position.X track, Rotation.B track, and so on). Tracks represent an animatable parameter, keyframes are the values of that parameter at a given time. Sequences are disjoint sets of keyframes on the Track. Simple.

    So, in order to get the Position of ObjectX at time T, you need to get ObjectX, get its Position Track, get the Sequence that covers T, and then find a Key at (or near) T and read the Key's value.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/03/2005 at 11:12, xxxxxxxx wrote:

    Sorry for delay Kuroyume,

    thanks for info, i hope to understand how it work.

    Cheers
    Renato T.


Log in to reply