Living pictures in Augmented Reality (Unity AR Tutorial)
Ойындар
▶ Support me on patreon : / valemvr
▶ Join the Valem discord channel : / discord
Give life to your pictures with this quick Augmented Reality tutorial !
------------ Download Unity---------------
unity3d.com/get-unity/download
--------- Add The TrackableEvent Script-------------
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class TrackableEvent : DefaultTrackableEventHandler {
public UnityEvent onTrackingFound;
public UnityEvent onTrackingLost;
protected override void OnTrackingFound()
{
base.OnTrackingFound();
onTrackingFound.Invoke();
}
protected override void OnTrackingLost()
{
base.OnTrackingLost();
onTrackingLost.Invoke();
}
}
Пікірлер: 64
You deserve way more sub your video are really cool and instructive hope you will continue even if you don't have too many subs at the moment
great video exactly what Im looking for my designs . Thank you!
Hey! thanks for the tutorial, I've been wanting to do something like this for a while. However, I can't see a video playing when I test this out. The AR works because I can see the cube, but having followed the steps exactly I can't replicate the result. Do you have any quick tips that may be at fault?
Great Tutorial! Simple and to the point. Do you give tutorial classes to really understand better parts of the software?
although the version is a bit old, the tutorial is still very helpful! Really appreciate it, super cool technology!
What camera app do we use to scan the image ?
Ang galing naman ng tutorial mo sir may natutunan ako ng bagu
great video thanks
How do you run your unity game on your android device?
Hey! Great tutorial. I tried doing this with a vertical picture and the video just looks 90 degrees rotated, is there something i can do to fix it?
You sneaked a cut in just before dragging the video into video player. How do you add? Is it local?
Hi, I am trying to build an AR app using ARCore in Unity. I have ten images and ten URL links to websites; I need to link the ten images with those ten URL links. Simply, when I scan the image with the phone's camera, I want the URL to open directly. Could you help me by explaining how can I do that?
Nice. Can this be seen if used during live webmeeting in zoom or messenger?
Hi! Is it possible to create AR projects with unity and oculus quests? if yes, can you recommend some interesting things to see? thx you!
hello, I get an error "Can't add script component 'TrackableEvent' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match."
hello did you choose AR or 3D platform for the project?
Hey, thanks for the video. I seem to be having trouble getting the texture override to work on the video playback. My application just shows the quad target object. Do you know what I may be doing wrong ?
@blind_neighbourhoodNerd
4 жыл бұрын
I realized what I was doing wrong. The project needs to be a 3d project. I created a lite renderer project which wont do the material override. Thanks again for the awesome content !!
Hey Valem, thanks for the video! Quick question. I can hear the video has been triggered when shown a logo, but I can't see the video itself. What could it be happening?? Thanks again! :)
@muhammadtalhaali2541
4 жыл бұрын
you might not have put the video over the quad so the video doesnt have a support to be played on something i guess its playing but its not visible
Help me. the camera can not identification images, because images do not have many pixels.
To view the AR image or video, can you use your phones camera or is their a certain application I need to download. I want to use this for commercial reasons and use it on my business card
@tessbloomarts
2 жыл бұрын
I am interested too.
Im gonna try to put this video over it
Thanks so much for this tutorial! I did my own version of this and would like to share it on twitter, IG and Reddit tomorrow. Do you have any of these accounts so I can tag you in my posts?
@ValemVR
5 жыл бұрын
Hi devPuppy I'm glad you liked the tutorial. I would really appreciate if you could just link the KZread video to your post. Thank you for sharing it really helps me a lot!
the script doesnt work on mine, i. get an error message that there is no suitable method to override
hi ,i don t find Trackable event ,what s the prob ?
Hello i really love your video but may i ask how do you view the AR images in your phone? What application do it needs?
@ValemVR
4 жыл бұрын
Oh its directly integrated within the application we are making here! :)
@ishmetmuhibb590
2 жыл бұрын
@@ValemVR do we just use the phone camera to open it?
@tessbloomarts
2 жыл бұрын
@@ValemVR Can any phone view this? How do you make it so any phone or device can view?
Once I make this, can my phone be used in a vr headset to display the augmented reality stuff??
@connerglover4593
4 жыл бұрын
snowman c if you use the google cardboard tutorial first
Vr tutorials pls more of them
I think it'll take it over (Heart this... I know you want to)
Hello sir, can we make multiple picture in one frame ?
Thanks for the amazing video man. Just couldn't get that TrackableEvent thing to work I kept getting an error.
@Papa-jr2jg
Жыл бұрын
me too, did you get it to work evantually?
@Gihon88
Жыл бұрын
@@Papa-jr2jg ya i was able to get it to work
@Papa-jr2jg
Жыл бұрын
@@Gihon88 how did you get it to work?
how do you get that Trackableevent? do we need to develop it on visual basic ?
@kamelbakir6415
2 жыл бұрын
yea im stuck there too lol help guys
@sculptvisual2267
2 жыл бұрын
@@kamelbakir6415 Click "add component", then insert the code on the description. Hope it can help!
@Papa-jr2jg
Жыл бұрын
im stuck here to, did you fix it?
@Papa-jr2jg
Жыл бұрын
@@sculptvisual2267 i added it, now i get an error message: error CS0115: 'TrackableEvent.OnTrackingLost()': no suitable method found to override
ooo, coding did not work for my computer... the top 3 lines is gone gray... today I tried it on my windows system, it works. that is interesting. but thanks!
Hello sir, how to make the video have sound?
i did all the steps how do i visualize it using my phone?
What happen next?? Any apps to install in my android phone??
Sir where is the code to implement it?
can you please show us how to make AR 360 video thank you
Can we make this offline
How to get a video with it
I like his accent :)
i cant use the script
piece of shh.. it doesn't work! Assets\Resources\NewBehaviourScript.cs(6,31): error CS0246: The type or namespace name 'DefaultTrackableEventHandler' could not be found
lo necesito en español
this is a poorly explained tutorial...
Urgh all these are so old
Hey,im haveing trubble with the script. I keep getting “DefaultTrackableEventHandler” could not be found And “TrackableEvent.OnTrackingFound” no suitable method found to override
@Papa-jr2jg
Жыл бұрын
i have the same error message, did you get it tot work?