Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reference Time versus Local Time

1 REPLY 1
Reply
Message 1 of 2
simonwakley
401 Views, 1 Reply

Reference Time versus Local Time

I want to export a motion into FBX that starts at frame 0 and runs to 100, but have the Timecode for the time it was recorded. If I set the time start to the timecode of the start of the move, then it starts at a huge number of frames... The difference in the export file would be:

Not this:
FileName: "Flair_Camera_Motion.tak"
LocalTime: 0,192442317658
ReferenceTime: 0,192442317658

Not this:
FileName: "Flair_Camera_Motion.tak"
LocalTime: 166454913432000,166647359515639
ReferenceTime: 166454913432000,166647359515639

But this:
FileName: "Flair_Camera_Motion.tak"
LocalTime: 0,192442317658
ReferenceTime: 166454913432000,166647359515639

I assume this is something to do with the Global Time setting versus the take time settings?

lCurrentTakeInfo->mLocalTimeSpan.SetStart(lsTime);
lCurrentTakeInfo->mLocalTimeSpan.SetStop(leTime);

opposed to
lTimeLineTimeSpan.SetStart(geTime);
lTimeLineTimeSpan.SetStop(geTime);

Starts at 1 Hour and 4 seconds 25 FPS base. 01:00:04:00

If I am wrong can someone point in the direction of the function that controls the ReferenceTime: value as opposed to the LocalTime: value

Thanks

Simon
1 REPLY 1
Message 2 of 2

Hi Simon,

I think you should use KFbxAnimStack::SetLocalTimeSpan() and KFbxAnimStack::SetReferenceTimeSpan().

Regards,


Viviane Rochon Montplaisir

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report