"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

List of models in Android app

Hi everybody!

That's already a few days I try to find a way to what I want, but no really issue ...

I would like to create an Android app, where we could choose a specific model to show in the AR part of the app. I've tried to begin with unity, i've exported the app to eclipse and create a menu where we have a list of models ... A few problems come :

 - First, if I put many models in the scene of unity, how to interact with them in java part?

 - And if that's possible, I don't think we can load a model in runtime, because the AR part is already compile when we export to eclipse, and i don't think it can be modified.

So I decided to do my app without unity and use opengl to load models I want. Interaction can be possible, but there is some matters with my models, in fact they are very complex (buildings) and they have too many materials, so having a texture for each one is quite complicated.

The goal is to have different models on a server, and the app will search the one selected in a list. So even without there is some problem because we need to use 'ndk-build' when the opengl is modified.

I hope my english is understandable and I hope you will understand what I would like to do.

Don't hesitate to ask me if you want more details ...

Thank you for your answers!

AlessandroB

Tue, 06/25/2013 - 15:30

Hi, just my personal advice:

I would go with Unity. This would save you a lot of time, if you are planning to integrate complex models.

Then you should be able to call C# parts of your code from Java, by using UnityPlayer.UnitySendMessage()

Thank you for your answer! I will try on this way.

Another question, is there a difference between Unity Trial and Unity Pro.

I'm currently on the trial version but there is no problem to buy pro version.

Thank you again!

Unity Pro has many additional features, the most important is the ability to test your application using PlayMode with a WebCam attached to your PC; this will save you a lot of time during development, because you won't need to deploy the app on the device to test every single code change..

ccailleteau

Wed, 06/26/2013 - 07:26

Another question ^^ Do you think if it's possible to transfer a 3D model from the app (in Java part) to Unity, if my model is on a server... Or maybe models must be only in Unity?

Thank you again!