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

Pointer Conversion

$
0
0

@BladeVV wrote:

Hi guys,

Have a very basic question. I have a kinect video feed as an unsigned char* . How do I convert that to ofTexture* ?

I've tried typecasting and it doesn't work: (ofTexture&)outputKinectFrame. Basically I need to replace the webcam feed (cam.getTextureReference()) with kinect.

Thanks much,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles