Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / Problems with FBStoryClip constructor
  RSS 2.0 ATOM  

Problems with FBStoryClip constructor
Rate this thread
 
40115
 
Permlink of this thread   Subscribe to this thread
avatar
  • Tistatos
  • Posted: 24 February 2010 06:46 AM
  • Total Posts: 44
  • Joined: 07 January 2009 01:31 PM

Working on a tool to create storytracks and clips and set certain offsets to them.

however, it seems that even though my clip’s constructor is finished, the Fbx-file assigned to the new clip isn’t finish loading.

so when i set the offset i want, it assigns it to the clip but when the fbx is finished loading, it just adds its on value on top of it.

so if i want 10 , 0 , - 5.
and the Fbx offset has 25, 0 , 10
i end up with a offset of: 35, 0, 5

Anyone with some insights?
this is kind of what im doing at the moment

pCurrentClip = new FBStoryClip(lClipPathpCurrentTracklTimeStart)
FBVector3d lTrans(ltx
,lty,ltz)
pCurrentClip
->Translation lTrans;

So lClipPath is the location of a fbxfile i want to load into a track(pCurrentTrack) and it should start at time lTimeStart.



Replies: 0




   
  Settings Choose Theme color: