Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

OfxFlowTool getting ofFbo texture from OfImage

$
0
0

@airinterface wrote:

Hi there,

I’m trying to use OfxFlowTool. But not from the camera, but from OfImage. But
[ .h ]
ofFbo flowFbo;
ofImage image;
[ .cpp ] -> setup
flowFbo.allocate(CAM_WIDTH, CAM_HEIGHT);
[ .cpp ] -> update

flowFbo.begin();
image.draw(CAM_WIDTH / 2 , CAM_HEIGHT / 2); // draw flipped
flowFbo.end();

Doesn’t seems to capture the image. Do you know why?

P.S. I can see if I add
image.draw(0, 0) it draws 320 x 240 image.

System OSX
OpenFramework Version : v0.10.0

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles