Log in or register to post comments

being familiar with vuforia

January 8, 2013 - 5:54am #1

Hi guys,

I wanna learn to develop AR application by using Vuforia. After exploring  this forum, I did not find any step by step tutorial guide for getting familiar with the sample apps e.g ImageTarget so that I don't know from where I should begin to learn. Does anybody know where I can get the tutorial such as documentation provided by ARToolkit?

Thanks in advance

being familiar with vuforia

February 1, 2013 - 4:39am #20

Hi, no, there is no such function in the API; however if you look at the SampleMath.h file in the Dominoes sample, you will find a function which does precisely that:

static QCAR::Matrix44F Matrix44FIdentity();

also, the SampleMath.h contains many other useful functions for matrix maths, for instance:

static QCAR::Matrix44F Matrix44FIdentity();    
static QCAR::Matrix44F Matrix44FTranspose(QCAR::Matrix44F m);
static float Matrix44FDeterminate(QCAR::Matrix44F& m);
static QCAR::Matrix44F Matrix44FInverse(QCAR::Matrix44F& m);

I would recommend to have use that code; enjoy !

 

being familiar with vuforia

February 1, 2013 - 3:56am #19

Hi Alessandro, is there API in QCAR to set identity matrix for 4 x 4? I did search in API but did not found it. Thanks

being familiar with vuforia

January 29, 2013 - 6:09am #18

Great!

being familiar with vuforia

January 29, 2013 - 4:43am #17

I just realised, I can see the error in cmd when running ndk-build.

Thanks

being familiar with vuforia

January 29, 2013 - 3:32am #16

Hi Alessandro, 

 I'm trying to modify the 3D modeling by adding the Light in ImageTarget.cpp, but since I'm beginner in Android and NDK, I have no idea how to check the compilation errors of my writing codes. How do I know the error of the codes in Eclipse after compiling? Sorry if I keep asking basic questions. 

Thanks.

Hi de_duu, in general the C++

January 15, 2013 - 2:14am #15

Hi de_duu,

in general the C++ code is the part where you will make most of your changes for core features of the App (especially for features related to rendering of the 3D model and similar);

however, for UI related features (for instance adding a custom Button or other UI widgets to your App view), you will usualy do it on the Java side (using standard Java API of the Android SDK);

also, sometimes you need to implement some functions in Java which are called from the C++ code (this is more advanced, but at some point you might need it); as an example of this, you cann have a look at this FAQ post:

https://developer.vuforia.com/forum/faq/android-how-can-i-update-my-ui-response-tracking-events

 

I hope this helps.

 

Hi AlessandroB, thanks for

January 15, 2013 - 2:07am #14

Hi AlessandroB,

thanks for your instructions. so due to written in C++, it means that when I want to modify the capabilities of the apps (e.g recreate the 3D model), I should modify from C++ codes and not Java codes, isn't it? 

 

Thankyou

Hi de_duu, firs, glad to hear

January 10, 2013 - 12:25am #13

Hi de_duu,

firs, glad to hear that the problem is now solved.

if you are a beginner in Android, before starting the ImageTargets sample, you may want to familiarize a bit with some Android development topics (unless you're already OK with them), in particular:

- Android activities (in particular it is important to understand well the "activity lifecycle" concepts):

   http://developer.android.com/guide/components/activities.html

- AsyncTask: this is about running tasks in separate threads in Android, and it is used in our samples (typically for inititalization tasks, to avoid blocking the user interface for tasks that take some time to complete)

   http://developer.android.com/reference/android/os/AsyncTask.html

- Java Native Interface (JNI): this is a must (although you don't need to know it in full detail), as the Vuforia API is written in C++ and the Java code of the apps communicate with the C++ part by using JNI (by the way, each sample project contains a directory called "jni" where all the C++ code is included; this is a good link to start from:

   http://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/jniTOC.html

- OpenGL: if you want to fully understand the samples (in particular the rendering code) you need to have at least a basic knowledge of OpenGL; the internet is full of tutorials about OpenGL programming for beginners

 

Then reading the ImageTargets code is an excellent way of learning Vuforia.

I hope this helps.

 

I've tried to figure out why

January 9, 2013 - 11:47pm #12

I've tried to figure out why the installer did not run and finally I have no idea what the problem is. I finally recovered my laptop and the installer can run properlly.  By the way, I'm beginner in Android. Can you give me a clue how to learn the whole codes in ImageTarget and other sample apps? I mean, there are a bunch of application packages including android and java that I've never used before. What should I do to know from which I should start, and continue to and so forth in ImageTarget? I'm sorry before if some maybe think this as silly question, just  because I did not have experience in programming mobile apps.

Thanks

It should just work, most

January 9, 2013 - 1:08am #11

It should just work, most people use Win7-64 (and I use it too);

maybe try to check in the Task Manager if there is some process running to be killed;

also close other programs that you might be running, and at worst try right-click on the file and "Run as administrator..."

 

I'm using windows 7 64 bit.

January 9, 2013 - 12:54am #10

I'm using windows 7 64 bit. When I run the installer, nothing happened. should I uninstalled the previous SDK? 

thanks

What OS are you using

January 8, 2013 - 11:30pm #9

What OS are you using (Windows 7, ...) ?

I have downloaded the latest

January 8, 2013 - 9:48pm #8

I have downloaded the latest version of Vuforia.exe file. When I run the installer, the installation didn't work and no error message displayed. what's wrong with this? 
 

Thanks

OK, here is the link to the

January 8, 2013 - 9:10am #7

OK, here is the link to the new Vuforia SDK by the way:

https://developer.vuforia.com/resources/sdk/android

 

No, I just downloaded this

January 8, 2013 - 8:25am #6

No, I just downloaded this version some months ago, and abandon it for a while to learn other thing. Thanks for reminding me anyway.

Any reason you are not using

January 8, 2013 - 7:57am #5

Any reason you are not using 2.0 Vuforia SDK?

...just so you know that previous SDKs are no longer supported, plus all the documentation and API changes reflect 2.0, not 1.5.9.

Best to update if you can.

N

I'm using SDK 1.5.9 Okay

January 8, 2013 - 6:11am #4

I'm using SDK 1.5.9

Okay then, so that's  how to learn.

Thank to both of you

Hi, currently we only have

January 8, 2013 - 6:05am #3

Hi, currently we only have one Tutorial about Vuforia and Unity (https://developer.vuforia.com/resources/tutorials)

For everything else, the best is to start reading the Developer Guide (https://developer.vuforia.com/resources/dev-guide/getting-started) and to start looking at the code in the ImageTarget sample (and then the other samples as well) which should guide you into the details;

The API reference is also a good reference point (but only look at that after having read a bit of the Dev Guide):

https://developer.vuforia.com/resources/api/index

I hope this helps.

Which SDK version are you

January 8, 2013 - 6:01am #2

Which SDK version are you using?

Take a look at our Getting Started guides - https://developer.vuforia.com/resources/dev-guide/getting-started

and here is a Video tutorial for Unity - https://developer.vuforia.com/resources/tutorials

Log in or register to post comments