Log in or register to post comments

How to build unity package to reflect changes of ImageTargets

June 4, 2012 - 4:24am #1

Hello,

I am very much new to Unity. I did the example "ImageTargets" by following the document "https://ar.qualcomm.at/qdevnet/sdk/android".

Now I want to customize "ImageTargets" example. That is for example to embedded video, sound or to modify 3D model behavior. I think I need to build a unity package to reflect the changes in Unity.

How can I build package which is compatible to Unity. Do I need any other language to do this?

Thanks in advance
anki

Re: How to build unity package to reflect changes of ImageTarget

June 5, 2012 - 11:47am #5

As Nalin has stated, the Unity Samples are distinct from the native Android and iOS Samples. These are organized as separate projects that build different executables. So the C++ code that you've seen does not go into the Unity project.

When you build your Vuforia Unity project it's using a precompiled shared library, which you can find in your plugins folder. There are no additional steps to packaging or compiling the project. Simply execute Build or Build And Run from your Build Settings - Build And Run will deploy the app to a connected device.

Re: How to build unity package to reflect changes of ImageTarget

June 5, 2012 - 6:35am #4

hi Anki

I do not think so. Really you need to create the scene within Unity and then customise. If you look at the inspector you should see what you can change within the ImageTargets object. Start with setting up an additional image and see how you get on.

A good initial step would be to go through the tutorial on the QCAR web site which shows
how to work through the Unity QCAR samples - this should get you up to speed.

See this link as an example of how you can get the teapot to rotate in ImageTargets app:
http://ar.qualcomm.at/node/2002252

HTH

N

Re: How to build unity package to reflect changes of ImageTarget

June 5, 2012 - 3:40am #3

Hello NalinS,

Thank you very much for the quick reply.

One more final question.

Is is possible to change the "ImageTargets.C++" and reflect the changes in Unity.

Can I get this, if I follow the tutorials?

Thanks in Advance
anki

Re: How to build unity package to reflect changes of ImageTarget

June 4, 2012 - 7:36am #2

Hi Anki,

You do not need to build a Unity package to do this.

All will become much clearer once you follow a few Unity tutorials such as Will Goldstone's - his book is very helpful.

Essentially you need to create a new Unity project and embed/customise the ImageTargets scene, primarily by attaching / modifying scripts associated with it. From this you can change the models, play sound etc. and do what you want to.

HTH

N

Log in or register to post comments