+ All Categories
Home > Documents > PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4....

PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4....

Date post: 23-Jul-2021
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
9
3/2/2016 Page 1 of 9 PTC Vuforia 5.5 Quick Installation Guide 1. Download and install the latest version of Unity : https://unity3d.com/get-unity/download Create a Unity ID (if you don’t have one) here. Run the Unity Download Assistant and install it. 2. Run Unity, Sign in to your Unity ID and create a New Project. Name the project, then click Create Project. From the Hierarchy window select Main Camera and Directional Light and delete them.
Transcript
Page 1: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

3/2/2016 Page 1 of 9

PTC Vuforia 5.5 – Quick Installation Guide

1. Download and install the latest version of Unity :

https://unity3d.com/get-unity/download

Create a Unity ID (if you don’t have one) here.

Run the Unity Download Assistant and install it.

2. Run Unity, Sign in to your Unity ID and create a New Project.

Name the project, then click Create Project.

From the Hierarchy window select Main Camera and Directional Light and delete them.

Page 2: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 2 of 9

3. Minimize the Unity and Register on developer.vuforia.com.

Complete all fields, read the Vuforia Developer Agreement.

Agree the Vuforia Developer Agreement and click Register.

4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity” and save it on your computer (you will need to locate it later so a usual location would help):

https://developer.vuforia.com/downloads/sdk

Agree the license

Next steps will apply for all the applications that you will create

5. From the Develop tab Add a License Key for your application:

Insert the application name Installation Guide and click Next.

Confirm License Key (thick the box and click confirm)

Now your License for the Installation Guide application is created.

Page 3: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 3 of 9

6. Create a Database from the Target Manager

Add the name and select Device, then Create.

Click on the new Created Database and add a target to it.

The target can be any .jpg or .png you have. Here are some recommendation for a good tracking stability.

For this example you can use this image. Right click on it and save it on your computer.

Click Add Target and Browse for the image that you will be using.

Add the Width of it, in this case we can use 512.

Name the Image, then click Add.

Page 4: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 4 of 9

7. Check the information about your new target. The higher its rating is, the more stable your application will be.

Open the target and click Show Features. The areas of the target without yellow marks will not be tracked, so an image fully covered will be better than one with lots of targets in the same area.

8. Go back to the Target Manager → InstallationGuide and click Download Dataset (All).

Select Unity Editor and then download it (save it in a common location as you will soon browse for it).

At this time you should have: the image (.jpg) file, the vuforia-unity-5-5-9.unipackage and InstallationGuide.unitypackage

9. Go back in the Unity project and from Assets → Import Package → Custom Package… browse for the folder that contains vuforia-unity-5-5-9.unipackage file and open it. After it loads, click Import.

10. Do the same for the InstallationGuide.unitypackage file.

Page 5: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 5 of 9

11. Under Assets you will find the Vuforia folder. Open it and then open Prefabs from it. Drag the ARCamera in the Hierarchy window.

12. Then drag ImageTarget in the same window, under the ARCamera.

13. Select ARCamera from the Hierarchy and look in the Inspector window

Locate the Vuforia Behaviour (Script). Paste the App License Key from the Vuforia → Develop → License Manager → Installation Guide (here)

Locate Database Load Behaviour (Script) and under it thick Load Data Set and Activate.

Page 6: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 6 of 9

14. Select ImageTarget and in the Inspector locate the Image Target Behaviour (Script)

Data Set → InstallationGuide

Now If you will zoom out the Scene Window you should be able to see the image added.

15. Now you need to add the 3D shape in the application, so under Window select Assets Store.

Look in 3D Models → Vehicles → Air and lower on the page select Top Free. Mobile Planes: Small Passenger Plane can be find there. Select it, Download it and Import it.

Go back to Scene window from the top of the graphic area.

Locate the Small Passenger Plane.prefab on the path Assets → Mobile Airplanes → Small Passenger Plane → Prefabs.

Drag the Small Passenger Plane.prefab on the target image (in the graphic window), then drag it from the Hierarchy window and drop it in the ImageTarget.

From the Inspector window set the position to 0, 0, 0; rotation to 0, 180, 0; scale to 0.1, 0.1, 0.1

Page 7: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 7 of 9

16. Add a Directional Light from the GameObject → Light.

17. Congratulations! Your first Vuforia AR application is finished. In order to play it you can print the image on a paper, press the Play button from the top of the graphic window and aim the webcam at the printed image.

Creating the iOS application

18. For this step you will need the Vuforia iOS SDK and XCode.

Become an iOS Developer

Set up a Provisioning Profile

Page 8: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 8 of 9

19. Build the application:

File → Build & Run opens the Build Settings. Select iOS and in the scene builder Add Current (give it a name and save it)

Press the Player Settings…

o Add a Company Name [PTC] and Product Name [InstallGuide]

o Under Other Settings → Identification → Bundle Identifier replace the Company and Product name with the ones you inserted (com.PTC.InstallerGuide)

Press Build. It will generate an XCode project.

20. Open your XCode project.

Note: Vuforia applications do not build or work with the simulator.

Connect your iOS device to your computer using a USB cable.

Select the device via the dropdown selector at the top left of the Xcode window.

Change the Bundle Identifier pf the XCode Project with the credentials from the 18th step.

Deploy the application using the Build and Run button in XCode.

Page 9: PTC Vuforia 5.5 Quick Installation GuideAgree the Vuforia Developer Agreement and click Register. 4. After you log into your account, download Vuforia 5.5 SDK - “Download for Unity”

5/20/2016 Page 9 of 9

Resources:

1. Find samples here. 2. Vuforia Developer Portal Library. 3. Vuforia Developer Portal Support.


Recommended