Skip to content

Instantly share code, notes, and snippets.

@Neill3d
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neill3d/306b250d5923ec58bc3e to your computer and use it in GitHub Desktop.
Save Neill3d/306b250d5923ec58bc3e to your computer and use it in GitHub Desktop.
FBTexture GetImage() method
// Regarding to the image data and FBTexture class in OR SDK (MotionBuilder)
// In theory you are able to put image frame index direcly to that GetImage method
// that should return GLubyte *data of a specified frame
// but in practive it will produce error for future MoBu drawing
// the way out is to...
// 1 - first of all, specify the current frame with "CurrentFrame" property
// 2 - execute GetImage() function with a argument -1 by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment