Log in or register to post comments

Beginner's Question...

June 20, 2012 - 8:47am #1

Sorry if this has been asked before or if it's something blatantly obvious that I've missed, after a bit of searching through the forums I was still unable to find a good answer to my question.
I've been met with a good deal of complications attempting to add in all the necessary resources on my own, even attempting to start a new project by renaming and modifying one of the samples has given me a few problems, such as ARCommon being missing, only to give me errors when I add the files in on my own...
Just for the sake of a beginner, how would I go about either creating a new project from scratch in xCode and adding in everything to it (the library, QCAR headers, and ARCommon)?

Beginner's Question...

September 4, 2012 - 2:50am #4

Hi yousufk18,

Partly it depends on what you are trying to do, but probably the best place to start is to take the sample code and change it to your requirements.

The code in QCARUtils is there to help setup and carry out initialisation, so using it will save you time.

Apart from this you probably only need to include the remaining ARCommon files if you intend to render using this infrastructure, and the most visible code for this is in EAGLView.mm

If you want to try and integrate with a third party engine things will become a little more complicated as you need to handle rendering yourself as well as drawing the video feed.

HTH

N

Beginner's Question...

September 3, 2012 - 7:45am #3

Hi,

 

I have the same question. It would be great if there was an Xcode Vuforia project template, but there isn't. What is the simplest way to initiate a project without Unity?

Regards,

Y

Beginner's Question...

June 21, 2012 - 1:12am #2

Hi cshell,

It is more difficult to create an xcode project from scratch than it is to modify one of the existing samples (say ImageTargets), but it is possible.

The issue is that there is a lot of startup code in the ViewControllers and EAGLView that needs to happen as part of the application setup, and this might be challenging to replicate if you create your own xcode project from scratch.  If you do go this route you would need to create a project using an OpenGL ES template and go about customising the EAGLView in line with the QCAR samples.

HTH

N

Log in or register to post comments