|
|
How to get the lens and fov of target-camera with animation? (I use the source code of KW X-port with IGame)
And export both them to the scale channel of certain key frame of target-camera?
append(foo, (DWORD)1); // scale animation
append(foo, (DWORD)scaleAnim.size());
append(foo, scaleAnim);
CHECK( anim->AddDataObject(TID_D3DRMAnimationKey, "scale", 0, foo.size(), &foo[0], &temp) ); |
|