Groups > Design > Autodesk MotionBuilder Open Reality SDK > Re: Dynamicaly create manipulate a FBVideo content




Re: Dynamicaly create manipulate a FBVideo content

Re: Dynamicaly create manipulate a FBVideo content
Sun, 2 Sep 2007 17:08:21 +0000
This is a solution I found..
//start code

media = newFBVideo(initial_Image_Name);

picture = GetPowerOfTwoImage();

//load a RGB image and save in the array Image 

for(...)
{
picture [ i ]  = 
(unsigned char)Image  [ i ];
}

videoTexture = new FBTexture(NULL);

videoTexture->Video = media;

//end code

Post Reply
about | contact