Topic locked

multiple targets multiple images

March 21, 2014 - 11:57pm #1

Hello everyone,

I want to make an android application which will show multiple 3d models on multiple targets. i can show a single 3d model on a single target image but unable to do it for multiples . i need help in this plzzzzz. 

multiple targets multiple images

March 22, 2014 - 6:32am #4

now what next? how to augment a 3d models on them using eclipse not unity ,i have 3d models of fbx format .

Vuforia Native SDK does not expose an API to load 3D models in a specific format, such as FBX or OBJ; it simply relies on OpenGL, so you need to either convert your model to an OpenGL format (following the approach that I describe here: https://developer.vuforia.com/forum/faq/android-how-do-i-replace-teapot),  or else integrate a 3rd party game engine or rendering library that can do that.

If you need to load 3D models in FBX format and the options above sounds like not a viable option for you,

your next best option is to use Unity (recommended).

See also my reply on this here:

https://developer.vuforia.com/forum/faq/technical-what-3d-model-formats-does-vuforia-support

 

multiple targets multiple images

March 22, 2014 - 5:20am #3

thanks alot for the help and reply
i have created a database with target manager and also changed the  Vuforia.setHint (  HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS,  2)  to 5 and uploaded 5 targets to the database. now what next? how to augment a 3d models on them using eclipse not unity ,i have 3d models of fbx format .

reply soon please.

 

multiple targets multiple images

March 22, 2014 - 2:42am #2

These are the things you need to do:

- create a Dataset with more than one Image Target (similar to the Chips and Stones one ised in the sample)

- adjust the Opengl renderng code that you currently use for one target / one model to handle each target with a different model (see the sample code in the Vuforia samples, for instance have a look at the ImageTargetsRenderer.java, see the renderFrame() method)

- very important, you need to set Vuforia.setHint (  HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS,  2)   or more than 2 (depending on how many targets you want to see simultaneously)

And I also recommend that you read the Dev guide, as many of the things that you need to know to achieve this are already detailed there.

The FAQ section is also worth having a look:

https://developer.vuforia.com/forum/faq/faq

 

Topic locked