Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / grab frame buffer from the viewport
  RSS 2.0 ATOM  

grab frame buffer from the viewport
Rate this thread
 
52581
 
Permlink of this thread  
avatar
  • Arnab
  • Posted: 22 February 2011 07:28 AM
  • Total Posts: 4
  • Joined: 06 October 2010 02:01 PM

Hi

I am trying to figure out how to extract the the frames or grab an image from the active viewport in Motion Builder. Till now I have not got anything in the OR SDK which lets me do that. I have looked inside the Camera class and the Scene class but am not getting any method which lets me grab the scene onto a texture or an image.
Any help regarding this or a suggested wor around will be really appreciated.



Replies: 1
/img/forum/dark/default_avatar.png

Hi,

you can grab a framebuffer using FBRenderer class in OR SDK. Or you can simple render frame(s) of a scene, is not suitable for you ?

Author: Neill3d

Replied: 22 February 2011 09:24 AM  
avatar
  • Arnab
  • Posted: 22 February 2011 10:02 AM

Hi Neill

Thanks for the reply.
I just want to grab whatever is visible in the current viewport or from the current camera.
I am trying to skip the time taken to re render it again.
I am a noob to the SDK and cannot find any method in the fbrenderer class which will allow me to grab the frame buffer. I am sure such a basic functionality will be present in the SDK, but I am just not being able to find it.
It will be of great help if you could give me a little bit more of a direction



Replies: 0
avatar
  • Eric Feng
  • Posted: 27 February 2011 09:50 PM

Arnab 22 February 2011 06:02 PM

Hi Neill

Thanks for the reply.
I just want to grab whatever is visible in the current viewport or from the current camera.
I am trying to skip the time taken to re render it again.
I am a noob to the SDK and cannot find any method in the fbrenderer class which will allow me to grab the frame buffer. I am sure such a basic functionality will be present in the SDK, but I am just not being able to find it.
It will be of great help if you could give me a little bit more of a direction

If someone can show me how to grab the framebuffer with some code sample, I will be greatly appreciated.



Eric Feng, Framestore

Replies: 0
avatar
  • Neill3d
  • Posted: 27 February 2011 11:00 PM

I have wrote about it on the Area branch - http://area.autodesk.com/for...buffer-from-the-viewport/

The same thing can be done using OpenReality SDK.



freelance mocap studio AnimArt - http://mocap.com.ua/en/

Replies: 0