Log in or register to post comments

binding camera to custom rendering engine

July 29, 2015 - 1:49pm #1

Hi,

After an Android integration of Vuforia with success, I'm trying to do the same with iOS.

I have my own rendering engine, where I let Vuforia Bind the video background during the render loop but no way... the bindVideoBackground does not a all work as expected : nothing in binded, and my render loop/context is modified in a way I cannot manage...

I a few words, when I call the bind, I still not have the texture binded but event a part of my rendering loop is broken !

 

In iOS examples, the bind is never called to show how to use it... is there any reason for that ?

 

Thanks in advance for you help.

 

Regards,

    Vince

binding camera to custom rendering engine

September 17, 2015 - 9:50am #6

Vince,

 

Yes, the bindVideoBackground works alo in iOS - you can see it in action in the BackgroundTextreAccess application. 

In the BackgroundTextureAccessEAGLView.mm file you'll see that we are binding the video background so that we could apply a custom shader on the image before rendring it.

Could you have a look at that sample and if you spot a difference with what you are doing in your own code?

Thank you

 

Pierre

binding camera to custom rendering engine

September 17, 2015 - 9:21am #5

Hi,  I'm using a custom Engine, the same I used for Android but the main difference is : 

With Android I use bindVideoBackGround() to allow the engin do the render of the background

With iOS, the bindVideoBackGround does not work at all... nothing seems to be binded, and there is no call for this method in iOS examples... is it supposed to work too ?

Here is the main question.

 

Thanks a lot :-)

Vince

binding camera to custom rendering engine

September 17, 2015 - 7:42am #4

Hi Vince,

What kind of rendering engine are you using? Is it a layer on top of OpenGL an are you using the same engine in Android?

Would it be posisble for you to provide code or pseudo code describing the kind of action you are doing and how it doesn't behave the way you were expected? The goal would be here to have the simplest piece of code which would expose the problem you are experiencing.

The iOS and Android implememtation of Vuforia are very similar and I don't see why iyour code would work in Android... and not in iOS.

Thank you, 

binding camera to custom rendering engine

September 15, 2015 - 7:03am #3

Hi, 

Any help please ? 

Thread is still important for us.

Thanks :-)

binding camera to custom rendering engine

August 4, 2015 - 1:54am #2

Hi,

 

Please, any idea why the bindVideoBackground is not working as expected ? Why no iOS example show how to use it ?

Thanks

Log in or register to post comments