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

  • @avadakatavra1330
    @avadakatavra13305 жыл бұрын

    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

  • @Innerjourneymusic1
    @Innerjourneymusic1 Жыл бұрын

    great video exactly what Im looking for my designs . Thank you!

  • @terrys8315
    @terrys83154 жыл бұрын

    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?

  • @marcop6762
    @marcop67622 жыл бұрын

    Great Tutorial! Simple and to the point. Do you give tutorial classes to really understand better parts of the software?

  • @yu-kaichen3697
    @yu-kaichen36972 жыл бұрын

    although the version is a bit old, the tutorial is still very helpful! Really appreciate it, super cool technology!

  • @monycosome5627
    @monycosome56273 жыл бұрын

    What camera app do we use to scan the image ?

  • @akolangtokatarakitv1243
    @akolangtokatarakitv12432 жыл бұрын

    Ang galing naman ng tutorial mo sir may natutunan ako ng bagu

  • @djwosa2000
    @djwosa20004 жыл бұрын

    great video thanks

  • @JYFilm-gf8yb
    @JYFilm-gf8yb5 жыл бұрын

    How do you run your unity game on your android device?

  • @cindylevi4653
    @cindylevi46532 жыл бұрын

    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?

  • @YaMoBeThereAbout
    @YaMoBeThereAbout3 жыл бұрын

    You sneaked a cut in just before dragging the video into video player. How do you add? Is it local?

  • @GeospatialTechnologies
    @GeospatialTechnologies3 жыл бұрын

    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?

  • @nandingpanelo
    @nandingpanelo2 жыл бұрын

    Nice. Can this be seen if used during live webmeeting in zoom or messenger?

  • @ringostarkiller7097
    @ringostarkiller70974 жыл бұрын

    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!

  • @marziocallegari
    @marziocallegari Жыл бұрын

    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."

  • @ramonamarianti
    @ramonamarianti2 жыл бұрын

    hello did you choose AR or 3D platform for the project?

  • @blind_neighbourhoodNerd
    @blind_neighbourhoodNerd4 жыл бұрын

    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

    @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 !!

  • @elhumen
    @elhumen4 жыл бұрын

    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

    @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

  • @kadimahai7255
    @kadimahai72552 жыл бұрын

    Help me. the camera can not identification images, because images do not have many pixels.

  • @jameshaskins4071
    @jameshaskins40712 жыл бұрын

    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

    @tessbloomarts

    2 жыл бұрын

    I am interested too.

  • @vlogginggabes3864
    @vlogginggabes38645 жыл бұрын

    Im gonna try to put this video over it

  • @devPuppy
    @devPuppy5 жыл бұрын

    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

    @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!

  • @Papa-jr2jg
    @Papa-jr2jg Жыл бұрын

    the script doesnt work on mine, i. get an error message that there is no suitable method to override

  • @bacbrahemsadok8154
    @bacbrahemsadok81544 жыл бұрын

    hi ,i don t find Trackable event ,what s the prob ?

  • @difa1263
    @difa12634 жыл бұрын

    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

    @ValemVR

    4 жыл бұрын

    Oh its directly integrated within the application we are making here! :)

  • @ishmetmuhibb590

    @ishmetmuhibb590

    2 жыл бұрын

    @@ValemVR do we just use the phone camera to open it?

  • @tessbloomarts

    @tessbloomarts

    2 жыл бұрын

    @@ValemVR Can any phone view this? How do you make it so any phone or device can view?

  • @karlrcotta
    @karlrcotta4 жыл бұрын

    Once I make this, can my phone be used in a vr headset to display the augmented reality stuff??

  • @connerglover4593

    @connerglover4593

    4 жыл бұрын

    snowman c if you use the google cardboard tutorial first

  • @Omar-vi1vu
    @Omar-vi1vu5 жыл бұрын

    Vr tutorials pls more of them

  • @vlogginggabes3864
    @vlogginggabes38645 жыл бұрын

    I think it'll take it over (Heart this... I know you want to)

  • @putradava4909
    @putradava49092 жыл бұрын

    Hello sir, can we make multiple picture in one frame ?

  • @Gihon88
    @Gihon88 Жыл бұрын

    Thanks for the amazing video man. Just couldn't get that TrackableEvent thing to work I kept getting an error.

  • @Papa-jr2jg

    @Papa-jr2jg

    Жыл бұрын

    me too, did you get it to work evantually?

  • @Gihon88

    @Gihon88

    Жыл бұрын

    @@Papa-jr2jg ya i was able to get it to work

  • @Papa-jr2jg

    @Papa-jr2jg

    Жыл бұрын

    @@Gihon88 how did you get it to work?

  • @walkwithme2314
    @walkwithme23143 жыл бұрын

    how do you get that Trackableevent? do we need to develop it on visual basic ?

  • @kamelbakir6415

    @kamelbakir6415

    2 жыл бұрын

    yea im stuck there too lol help guys

  • @sculptvisual2267

    @sculptvisual2267

    2 жыл бұрын

    @@kamelbakir6415 Click "add component", then insert the code on the description. Hope it can help!

  • @Papa-jr2jg

    @Papa-jr2jg

    Жыл бұрын

    im stuck here to, did you fix it?

  • @Papa-jr2jg

    @Papa-jr2jg

    Жыл бұрын

    @@sculptvisual2267 i added it, now i get an error message: error CS0115: 'TrackableEvent.OnTrackingLost()': no suitable method found to override

  • @bolisound
    @bolisound5 жыл бұрын

    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!

  • @anisfadhila2693
    @anisfadhila26932 ай бұрын

    Hello sir, how to make the video have sound?

  • @15arael
    @15arael2 жыл бұрын

    i did all the steps how do i visualize it using my phone?

  • @jroytv
    @jroytv3 жыл бұрын

    What happen next?? Any apps to install in my android phone??

  • @sheebha1568
    @sheebha15682 жыл бұрын

    Sir where is the code to implement it?

  • @aboziad100
    @aboziad1002 жыл бұрын

    can you please show us how to make AR 360 video thank you

  • @exoticme4760
    @exoticme47603 жыл бұрын

    Can we make this offline

  • @nolannono31
    @nolannono31 Жыл бұрын

    How to get a video with it

  • @AMAL-mr7ko
    @AMAL-mr7ko3 жыл бұрын

    I like his accent :)

  • @animatorkotak8845
    @animatorkotak88459 ай бұрын

    i cant use the script

  • @wyindepi8870
    @wyindepi88709 ай бұрын

    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

  • @ricardohernandez3123
    @ricardohernandez31234 жыл бұрын

    lo necesito en español

  • @ILLRICARDO
    @ILLRICARDO4 жыл бұрын

    this is a poorly explained tutorial...

  • @RDFContent
    @RDFContent2 жыл бұрын

    Urgh all these are so old

  • @CRAZYDAMJ
    @CRAZYDAMJ Жыл бұрын

    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

    @Papa-jr2jg

    Жыл бұрын

    i have the same error message, did you get it tot work?

Келесі