"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Change the displaying 3D object dynamically at runtime.

Hi

I have managed to change the teapot 3d object to a 3D object of my choice but I was wondering if there is a way to change the 3D object displayed dynamically the same way we can change the dataset at runtime.

For example when my application recognizes the "stones" trackable it renders the teapot but with a press of a button in the menu the teapot changes into a banana 3D object. 

Thanks

How should I reassign the arrays and indices counts used for rendering models. I am able to generate .h files from .obj using the perl script. When the .h file gets generated it is 80% full of numbers.

Where should I make changes to replace existing Q, C, A, R with my current model

Thank you for your reply.

I tried to follow your instructions and was successfully able to generate .so file.

But, When I try to run the code on device the program exists when camera previews the marker with the following logs

 

Logs :