Log in or register to post comments

Destroy AR-flow and release resources manually

April 22, 2013 - 10:42am #4

 

I have created a navigation flow (with UINavigationController) between ViewControllers with AR-flow at the end.

I want to destroy the AR-flow manually by code when I go back (when I leave the AR-flow).

The sample where I am implementing this is UserDefinedTargets (but ImageTargets should look like).

Any idea for this?

Thanks in advance!

 

PD: NalinS, I tried with Danchoy's suggestion but I couldn't fix it :(

Destroy AR-flow and release resources manually

April 23, 2013 - 2:51am #3

My recommendation here is not to destroy the AR but simply pause/resume it as per the info in the other threads.

Typically this is handled by the viewDidAppear and ViewDidDisappear methods

 

N

Destroy AR-flow and release resources manually

April 23, 2013 - 3:19am #2

I have reviewed these functions (viewDidAppear and viewDidDisappear) and onPause/onResume management, but I want to destroy AR-flow to change the textures in lifecycle of the app.

I mean, I want to go back, select a new texture and restart the AR-flow with the new texture. This is my aim.

 

jomavifi

Destroy AR-flow and release resources manually

April 23, 2013 - 3:59am #1

I think your best bet might be to manage these from within OpenGL and have calls in to manage it.

N

Log in or register to post comments