Log in or register to post comments

User defined trackable image: step by step help please

December 25, 2013 - 8:12am #1

Hi all,

I tried to create a simple app to track a marker image and put a 3D model on it and I succesfully did it. Now I would try to let user choose the image to track but I encoutered a lot of issues.

On the Vuforia SDK tutorials or documentation there're no enough information about that. I read about the "UserDefinedTargetBuilder" prefab but I didn't understand how to use it.

Someone can give me some help or a step by step guide?

Another isse is that I haven't this script:

"Assets/Scripts/UserDefinedTargetScripts/UserDefinedTargetEventHandler.cs"

which is a basic implementation of the user defined target event handler class.
Why this?

Thanks a lot :)

 

User defined trackable image: step by step help please

June 7, 2017 - 12:07pm #5

Hello,

Apologies for the inconvenience. Let me do my best to explain what artifacts and documentation that Vuforia supplies with respect to the User Defined Targets feature.

Artifacts:

  • Vuforia Unity Extension (current version 6.2) - This is the Vuforia SDK, with Unity Editor plugins, Vuforia prefabs and APIs. These include the ones for UDT.
  • Vuforia Core Features (current version 6.2) - This is the Vuforia SDK, with Unity Editor plugins Vuforia prefabs and APIs. It also provides sample scenes that demonstrate how each feature is configured and used. This is the best reference for understanding how to get started with the UDT feature.

Documentation:

To answer your question, by default when you install the Unity Extension you are getting all of Vuforia's commercial features. These are in the form of the SDK, the Editor plugins and the prefabs. If you use the Core Features samples as the basis for your development, you can use the provided scenes as you see fit and delete the rest.

Thanks.

User defined trackable image: step by step help please

June 7, 2017 - 4:11am #4

Been four years since this is posted, but there isn't a proper documentation for this plugin even now. Should we always import all samples to use User Defined Target in our projects? Please refer me to a step by step / "Proper" Documentation of this plugin for unity.

User defined trackable image: step by step help please

December 26, 2013 - 3:27am #3

Ok, I found the example apps and user defined target works, but the documentation about this Unity "plugin" is really poor IMHO.

For example, how the app "pages" are handled? When I run app appear a blue image, then a "summary page" with OK button and then the main app with camera preview. How these pages work?

Exploring existing project script and GameObject there's a AppManager which seems to handle various app screens, but no reference about this class can be found

"public class UDTAppManager : AppManager"

and similar to this many other classes or scripts behaviour is not so undestandable.

I think with a better documentation, tutorial and example this AR framework will grown better =)

User defined trackable image: step by step help please

December 25, 2013 - 9:06am #2

Have you reviewed the UDT sample? - https://developer.vuforia.com/resources/sample-apps/user-defined-target-sample-app

It's included with the Vuforia Unity samples and incorporates the UDT event handler script, which you'll need to add to the UDT  builder prefab - https://developer.vuforia.com/resources/sample-apps

A UDT target is basically an ImageTarget that is set to the User Defined type. You'll need to include a UserDefinedTargetBuilder prefab in the scene and to define the target as the UDT template in the builder's event handler field. 

Take a look at the sample, it's very simple to set-up.

Log in or register to post comments