Log in or register to post comments

How to get address of renderbuffer without QCAR::Renderer

March 17, 2014 - 10:44pm #1

I want to create a AR app with some render engines for iOS.

I have created a render texture in the engine. The texture is to display camera video. But I can not get stream of camera video via QCAR.

I only found a class is named QCAR::Renderer. There is a function QCAR::Renderer::drawVideoBackground ( ).

But I don' t want use this function.  But  Can I get stream of camera video or byte[].

 

Thanks,

How to get address of renderbuffer without QCAR::Renderer

March 28, 2014 - 2:30am #5

Also, a small addtional note to what Nalin says,

keep in mind that the Background Texture Access sample shows the video background texture as a grayscale image because the Shader used performs a grayscale rendering by averaging the R,G,B components of the texture. By modifying the shader code you can alos have normal RGB rendering.

 

How to get address of renderbuffer without QCAR::Renderer

March 28, 2014 - 2:14am #4

You need to use SetFrameFormat()

https://developer.vuforia.com/resources/dev-guide/front-camera-support-0

...also, worth searching the forums.

 

N

How to get address of renderbuffer without QCAR::Renderer

March 27, 2014 - 7:30pm #3

Thanks your reply, I have tried Backgroud Texture Access sample, but I only get grayscale image from texture #0. How can get RGB image?

 

Thanks

How to get address of renderbuffer without QCAR::Renderer

March 18, 2014 - 3:50am #2

Have a look at the Background Texture Access sample, as this shows how the video feed can be captured withn a texture and manipulated.

https://developer.vuforia.com/resources/sample-apps/background-texture-access-sample-app

download the samples here:  https://developer.vuforia.com/resources/sample-apps

HTH

N

Log in or register to post comments