How to create an AR app with Vuforia in Unity 2017

  Рет қаралды 25,820

CubicBrain

CubicBrain

Күн бұрын

Пікірлер: 48
@smadsenau
@smadsenau 6 жыл бұрын
This is a great video that transitions to 2017.2.0 where Vuforia is integrated. Very helpful!!
@CubicBrain
@CubicBrain 6 жыл бұрын
Thanks a lot. Really appreciate the feedback.
@sterlingteaches
@sterlingteaches 6 жыл бұрын
Excellent tutorial to get me started with AR. Thank you!
@widdiazhari8729
@widdiazhari8729 4 жыл бұрын
Dude, you taught me what i've learned for months in just 6 minutes 😂 great tutorials!
@bfg2600
@bfg2600 5 жыл бұрын
omg your awesome literally spent hours trying to find a tutorial that went through the steps thoroughly and properly
@CubicBrain
@CubicBrain 5 жыл бұрын
Thanks a lot!
@dariosimunovic4938
@dariosimunovic4938 6 жыл бұрын
Quick and down to the point. Amazing !
@CubicBrain
@CubicBrain 6 жыл бұрын
Thanks a lot!
@kpk1171
@kpk1171 5 жыл бұрын
Thank you so much! I showed this to my family and they loved it! Great tutorial 10/10
@StudentUPM
@StudentUPM 6 жыл бұрын
Very clear explanation! Thank you for sharing :)
@tianhaowang5012
@tianhaowang5012 5 жыл бұрын
Thank you so much for the tutorial!!!!!!
@muhammadsameer883
@muhammadsameer883 4 жыл бұрын
Thanks Bro completed this one
@TheDeadlyJedly
@TheDeadlyJedly 6 жыл бұрын
Missing the player settings just adds confusion , So thankyou for covering the process top to bottom!
@CubicBrain
@CubicBrain 6 жыл бұрын
Thanks, Yeah, my thought exactly. Its important to know all the setup basics before going further with Vuforia AR development
@AJ-VITHEE
@AJ-VITHEE 6 жыл бұрын
Excellent Tutorial, I am a novice on this track. I love it. But i have some question, when i try to press a play button in unity, it always show me an orange display only...how i can fix the problem. Thanks !!!
@jacksonabernathy1683
@jacksonabernathy1683 6 жыл бұрын
Best tutorial out there
@ArtinTime
@ArtinTime 6 жыл бұрын
Thanks a lot for all the training, certainly extremely helpful. I have a question if you have the time regarding the issue that I am having when triggering the animation when the target is found. I can’t seem to achieve the result I need, it always plays automatically. I have found scripts that can solve the issue with video clip and it’s working, however the problem I have is with the timeline animation. Is there a way to trigger the timeline animation when the target is found and stop when the target is lost? Thank you so much
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi, thanks. You should be able to use the tracking found and lost functions ex: private void OnTrackingLost() { anim.Stop();}
@ArtinTime
@ArtinTime 6 жыл бұрын
@@CubicBrain Thanks a lot for direction. I tried but it gave me an error: The name 'anim' does not exist in the current context [VuforiaScripts] Maybe Unity 2018 doesn't support "anim" in the Default trackable handler script? Sorry i am adding long script here but this is what my script looks like at the moment: using UnityEngine; using Vuforia; /// /// A custom handler that implements the ITrackableEventHandler interface. /// public class DefaultTrackableEventHandler : MonoBehaviour, ITrackableEventHandler { #region PRIVATE_MEMBER_VARIABLES protected TrackableBehaviour mTrackableBehaviour; #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS protected virtual void Start() { mTrackableBehaviour = GetComponent(); if (mTrackableBehaviour) mTrackableBehaviour.RegisterTrackableEventHandler(this); } #endregion // UNTIY_MONOBEHAVIOUR_METHODS #region PUBLIC_METHODS /// /// Implementation of the ITrackableEventHandler function called when the /// tracking state changes. /// public void OnTrackableStateChanged( TrackableBehaviour.Status previousStatus, TrackableBehaviour.Status newStatus) { if ( newStatus == TrackableBehaviour.Status.DETECTED || newStatus == TrackableBehaviour.Status.TRACKED || newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED ) { OnTrackingFound(); AudioSource audio = GetComponent (); audio.Play (); } else { OnTrackingLost(); AudioSource audio = GetComponent (); audio.Stop (); } } #endregion // PUBLIC_METHODS #region PRIVATE_METHODS protected virtual void OnTrackingFound() { var rendererComponents = GetComponentsInChildren(true); var colliderComponents = GetComponentsInChildren(true); var canvasComponents = GetComponentsInChildren(true); var animationComponents = GetComponentsInChildren(true); // Enable rendering: foreach (var component in rendererComponents) component.enabled = true; // Enable colliders: foreach (var component in colliderComponents) component.enabled = true; // Enable canvas': foreach (var component in canvasComponents) component.enabled = true; // Enable animation': foreach (var component in animationComponents) component.enabled = true; } protected virtual void OnTrackingLost() { var rendererComponents = GetComponentsInChildren(false); var colliderComponents = GetComponentsInChildren(false); var canvasComponents = GetComponentsInChildren(false); var animationComponents = GetComponentsInChildren(false); // Disable rendering: foreach (var component in rendererComponents) component.enabled = false; // Disable colliders: foreach (var component in colliderComponents) component.enabled = false; // Disable canvas': foreach (var component in canvasComponents) component.enabled = false; // Enable animation': foreach (var component in animationComponents) component.enabled = false; } #endregion // PRIVATE_METHODS } Thank you again, if you have the time to have a look at. really appreciate it.
@snap-n-shoot
@snap-n-shoot 5 жыл бұрын
Can someone please clarify a few things for m please? Do you need Unity to use Vurforia? I see that you canbuy Vuforia and they offer a few different options. Can you create AR content with Vuforia as a stand alone or do you need to purchase both Unity and Vuforia?
@coromel
@coromel 5 жыл бұрын
You'll need both those programs indeed. Fortunately they are both free. When installing Unity there will be an option to include Vuforia.
@srita.garabatos7761
@srita.garabatos7761 6 жыл бұрын
Thank you for this tutorial
@fabiotgarcia2
@fabiotgarcia2 6 жыл бұрын
Hello CubicBrain! Can you please show us how can we make a camera focus works in Vuforia 6.5.22?
@brunoomardorivalgutierrez1141
@brunoomardorivalgutierrez1141 5 жыл бұрын
Could you do a Vuforia Persistent Extended Tracking please
@abhishekarya9
@abhishekarya9 6 жыл бұрын
Thanks for the Tuts. Its my 1st tuts on AR. Can you please tell how to make video playback AR app in Unity 2017.2. Please
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi, you have to add the a video to your scene, and a video component to your script, and then your should be able to write a play function for your script. Inside of either a keypress function or a virtual button functions, add this: var videoPlayer = GetComponent(); videoPlayer.Play();
@276matto
@276matto 5 жыл бұрын
You are a hero
@حمزة-ب7ش
@حمزة-ب7ش 6 жыл бұрын
Is it possible to disable the z axis!? I just need to move an object in y-x without changing in rotation and scale. Can we do that?!
@alainjouni
@alainjouni 4 жыл бұрын
I’m stuck on the part where you click play and your camera feed appears, having trouble getting my camera feed to appear
@CubicBrain
@CubicBrain 4 жыл бұрын
Not all cameras are compatible, but you can check the Vuforia settings if the camera is registered.
@alainjouni
@alainjouni 4 жыл бұрын
CubicBrain thank you for the reply! After some more tinkering I found it was in fact the camera so I’ll be trying another one soon
@ammaramr2838
@ammaramr2838 5 жыл бұрын
Sir why my unity doesnt have vuforia?,how to download it?,it doesnt have in vuforia website
@CubicBrain
@CubicBrain 5 жыл бұрын
When you install unity, you can choose vuforia as one of the components.
@hanimbuzz
@hanimbuzz 6 жыл бұрын
why i cant add vuforia in unity ? there is no vuforia when i right click on the hierarchy tabs
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi Mira, Vuforia needs to be installed as a package when you install the newest version of unity. (just link when you add iOS or Android support)
@hanimbuzz
@hanimbuzz 6 жыл бұрын
when i press play, why does it says "all compilers error have to be fixed before you can enter playmode" ?
@CubicBrain
@CubicBrain 6 жыл бұрын
this means that you have an error in your code. you have to check for syntax errors.
@no101vmv
@no101vmv 6 жыл бұрын
When i start app on android device, i see only a black screen until I hit the marker. Some one know answer?
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi, try to go to the Android settings (player) and turn "Auto Graphics API" off. this might cause it to go black. If you turn this off and only leave OpenGLES2 on, the problem might get solved.
@no101vmv
@no101vmv 6 жыл бұрын
Thx, but i think is a Vuforia problem)) This problem has on one scene, in editor or on mobile) Because in new scene all work ok)))) And Vuforia have other error. Sometimes vuforia say InitializationError. InitError can be solved only if restart Unity.
@TheSkyGamez
@TheSkyGamez 6 жыл бұрын
i had to reinstall unity to get the vuforia thing in it :(
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi, yes, you have to select the vuforia package in the unity installation menu.
@youshaarif4253
@youshaarif4253 6 жыл бұрын
followed all steps, but the cube is not showing up :/
@CubicBrain
@CubicBrain 6 жыл бұрын
Hi Yousha, Have you activated the image and database for the target. if it's not activated, then it wont know when to show your cube.
@youshaarif4253
@youshaarif4253 6 жыл бұрын
CubicBrain In my case i forgot to put license key in unity.
@bennmorgan
@bennmorgan 6 жыл бұрын
is it ted mosby speaking?
@CubicBrain
@CubicBrain 6 жыл бұрын
haha, no, but I'll take it as a compliment!
How to create Virtual buttons with Vuforia AR & Unity3D
9:25
CubicBrain
Рет қаралды 205 М.
Exporting Unity3D+Vuforia for iOS devices
17:22
Electronic and Time-Based Art Purdue University
Рет қаралды 64 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 1,7 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 11 МЛН
когда не обедаешь в школе // EVA mash
00:51
EVA mash
Рет қаралды 4,4 МЛН
Getting Started With ARFoundation in Unity (ARKit, ARCore)
31:20
The Unity Workbench
Рет қаралды 460 М.
How to create an AR Window effect with Vuforia & Unity3D
7:18
CubicBrain
Рет қаралды 38 М.
Augmented Reality Shapes Combined from Trackers Unity3D Vuforia
16:45
Edgaras Artemciukas (OurTechArt)
Рет қаралды 31 М.
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 732 М.
How to create an Augmented Reality App
24:19
Playful Technology
Рет қаралды 1,4 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 5 МЛН
Augmented Reality Tutorial: Vuforia 7 Ground Plane Detection SLAM
29:05
MatthewHallberg
Рет қаралды 112 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 1,7 МЛН