Markless Augmented Reality - How to - Unity 3D [Tutorial]

แชร์
ฝัง

ความคิดเห็น • 111

  • @MrGloverDude
    @MrGloverDude 7 ปีที่แล้ว +2

    Thanks heaps for the comments mate. While it might not be necessary it helps give me a good idea of what you're trying to achieve on each line and preemptively gets me thinking about how I might implement it before you have started typing the actual line out.

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      Hey, thats good to hear haha!

  • @healsnails
    @healsnails 7 ปีที่แล้ว +4

    these videos are brilliant. I've learned so much from you over the last few months and you've really stepped up the content and complexity of the tutorials lately which is keeping them really interesting! Thank you so much. Will donate as soon as I start earning millions programming in Unity!!! ;-)

    • @n3ken
      @n3ken  7 ปีที่แล้ว +3

      Let's all earn millions ayyy !

    • @healsnails
      @healsnails 7 ปีที่แล้ว +2

      WE just need something as big as Pokemon and we'll be fine! Cheers again, best tutorials going right now.

  • @leonardomaffei6031
    @leonardomaffei6031 7 ปีที่แล้ว +4

    Cool video, but I have a question: Every time then I start the application, the north is turn for a different position. I do something wrong? There is a way to solve this? Thanks.

  • @showcaseone5061
    @showcaseone5061 7 ปีที่แล้ว +1

    Thanks for this awesome set of tutorials. I've been wanting to accomplish something like this for a while. Your videos really help to add to my skill set in unity engine. Hopefully I can put everything I've learnt from you together into a game or app one day.
    Keep up the good work 👍

    • @n3ken
      @n3ken  7 ปีที่แล้ว +1

      We're doing GPS next, make sure you tag along there could be real useful :P

  • @gooddereklu
    @gooddereklu 5 ปีที่แล้ว +1

    great video!
    solve most of my problem!!
    just wondering if you ever encounter "gyro drift" problem...
    my gyro just wasn't that accurate on pointing north... it just kept slowly rotate

  • @brianh.5334
    @brianh.5334 7 ปีที่แล้ว

    Great tutorial. What I am looking for next is to be able to place the 3D object in the room and be able to walk around it. Is there an easy way to make the 3D object stay in its current relative location?

  • @lisab1101
    @lisab1101 7 ปีที่แล้ว +1

    awesome tutorial, thank you! I have one question. The camera goes out of focus a lot. Is there any way to change that?

  • @streamingkeys
    @streamingkeys 7 ปีที่แล้ว

    Great vid - thanks! Def. yes to your question about adding in comments in the code. Very helpful when coming back over the course of several days to help remember what each section is accomplishing.
    I'm also having the same prob. as several others re: the 'compass' staying in the center of the screen rather than on the 'floor.' Certainly seems like a gyro issue... Is it possible that some devices have a less functional gyroscope (as it works for most others, my first guess is that my elder device is the likely problem...?) Will keep at it.
    Finally, echoing the call for a tutorial on interaction (e.g. shooting/collecting via raycast?) with geo-located AR objects. (simple right... ;)

  • @ifkp6533
    @ifkp6533 6 ปีที่แล้ว

    Thanks a lot for the tutorial. I also watched other tutorials getting the Webcam stream into the AR-Scene. In the other tutorial the stream is rendered to a 3D plane which is a child of the camera. The plane has to be placed at a distance so that all other objects in the AR-Scene are in front of it. The size of the plane has to be adapted to the cameras frustum of cause.
    Comparing the technic of this tutorial (rendering to UI Canvas) and the other (rendering to 3D plane) what are the advantages?
    I think the 3D plane is easier to implement. Are there performance disadvantages???

  • @pelopsus
    @pelopsus 7 ปีที่แล้ว +6

    SUPER TUTORIAL - congratulation :-))) i'm waiting also for the GPS tutorial ;-)

    • @n3ken
      @n3ken  7 ปีที่แล้ว +6

      Alright alright, its on the way!

  • @jacques_koffaltretes
    @jacques_koffaltretes 7 ปีที่แล้ว

    Great video, thanks. I have a problem, the camera is zoomed in and is not at default zoom setting when using all of your code? How do I fix the backgroundCamera to be default of 1x zoom?

  • @TheArduino92
    @TheArduino92 7 ปีที่แล้ว +3

    Great tutorial serie!! Subscribed ;) Some time ago I worked on something similar and I had the need to use also the compass sensor data to get information about the real North. Does the Gyro.attitude include this information?
    Thank you very much by the way for sharing this

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      Check out Unity magneticHeading

    • @ang_bury
      @ang_bury 7 ปีที่แล้ว

      Have you been able to fix it?

    • @carlosrodrigues6748
      @carlosrodrigues6748 6 ปีที่แล้ว

      Your tutorial is awesome, congrats. Did managed to solve this true north issue? Thanks for you Tutorial.

  • @naelproject6537
    @naelproject6537 6 ปีที่แล้ว +1

    I very like this tutorial.
    I am trying and it's working.
    Thanks

  • @Veyron104
    @Veyron104 4 ปีที่แล้ว

    Where are you? We need more new video!

  • @mslmanni
    @mslmanni 7 ปีที่แล้ว

    Markless Augmented Reality - Are there more videos for this?

  • @jacques_koffaltretes
    @jacques_koffaltretes 7 ปีที่แล้ว

    I believe unity has a crash bug that needs to be addressed. when using your scene for mark less AR, when you load another scene without AR, it crashes on mobile device. The player on pc does not crash, only on Android it crashes.

  • @braindeadjoe
    @braindeadjoe 7 ปีที่แล้ว +2

    Super great tutorial, just what I needed. Thank you!

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      Cheers friend !

  • @tomdwane691
    @tomdwane691 6 ปีที่แล้ว +1

    Can you do a tutorial on augmented reality navigation...where you have a pointer showing you directions from your camera.

    • @hayatkh185
      @hayatkh185 6 ปีที่แล้ว

      I search for something like this also, could you find anything helpful? my senior project use this functionality d Ii have deadline next week

  • @jeevas1621
    @jeevas1621 7 ปีที่แล้ว

    Great tutorial buddy.. thanks a lot.. you are making it simple... Instead of that red ball, need to have 3d objects and i'm thinking of making a markerless-AR shooting game.. Need your help on how we can tap to shoot the virtual objects on our real world cam.. Kind of mixing 'gyro and accelerator' Could you help?

  • @SIMONKEY
    @SIMONKEY 6 ปีที่แล้ว

    wow thank you so much I want to learn and know about this tech so when you explain it to me my feeling was fantastic omg;; thank you so much

  • @mmcmink597
    @mmcmink597 7 ปีที่แล้ว

    Thanks for the great tutorial! Currently I'm working on a AR project. I try to match objects (like the Compass in the tutorial) sizes with "real" sizes in Unity. In portrait mode it works perfectly but when I rotate the phone to landscape position, the Compass appears smaller. Thanks for any hint! :)

  • @Bloke28Gaming
    @Bloke28Gaming 6 ปีที่แล้ว

    Is there a way to say "if camera looks at image (red dot) play a sound??.. I kept my red dot static (not moving at all) and thought perhaps the main camera rotation would do it but it doesn't... :/
    if (Camera.main.transform.rotation.x = -2 && Camera.main.transform.rotation.y = -5)
    {
    PlaySound();
    }
    It not only plays when I look at it but also at other times.. argh..

  • @kentchiu166
    @kentchiu166 7 ปีที่แล้ว +2

    love your series very very much

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      Thanks friend :D

  • @jacques_koffaltretes
    @jacques_koffaltretes 7 ปีที่แล้ว +2

    can you tell me which lines of code to fix so the AR background camera is not appearing as 2x zoom on the app background?

    • @Flehwah
      @Flehwah 6 ปีที่แล้ว

      Omitting the width and height in the WebCamTexture Contructor improved this for me. It's still not as zoomed out as in the native camera app though.

    • @Bloke28Gaming
      @Bloke28Gaming 6 ปีที่แล้ว

      ​@@Flehwah I found that (WebCamTexture.devices[i].name, Screen.width, Screen.height * 2); worked the same as my built in camera's normal unzoomed view.

  • @MrGloverDude
    @MrGloverDude 7 ปีที่แล้ว

    Also, It's probably a silly question but why do you declare your Start and Update methods as private in your videos? I assume it's just a force of habit, but I'm curious if it's something I should start doing in my projects

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      It just would make no sense to be able to call a start or update from outside.
      When unity creates your script, he does not define the protection level "void Update()"
      When you don't define it, it defaults to private.

  • @LittleMissSyreid
    @LittleMissSyreid 7 ปีที่แล้ว

    Having added in the red circle, I wanted it to remain stationary. The problem I'm having is that it seems to want to spend all its time off screen? If I turn fast enough, I can see before it rushes off to the left. If I move the object on Unity to the right then it appears in the center but why is it automatically positioned that way? Any help?

  • @owlnite_
    @owlnite_ 7 ปีที่แล้ว

    Hello, I'm one of your new subscriber and wondering if you can kindly do a summary of how 'Breakout Ninja' app/game was made, if possible a prototype of it like you did for Stacks. Btw great tutorial videos you have loving them so far. 🙂

  • @7nxtgamer707
    @7nxtgamer707 7 ปีที่แล้ว

    can you make a full tutorial for mobile fps ( with character controller, shooting, aiming, reloading, displaying ammo)

  • @mohamadalsioufi6993
    @mohamadalsioufi6993 7 ปีที่แล้ว

    That's a wonderful job!
    Thank you :)
    Waiting for a video about REST API with Unity :D

    • @mohamadalsioufi6993
      @mohamadalsioufi6993 7 ปีที่แล้ว

      I wish you could provide us with the source code of every video, that's would be very useful and helpful

  • @TheFrankvHoof
    @TheFrankvHoof 7 ปีที่แล้ว

    Any help/tips as to getting the "compass" to follow True North? The Android compass seems way off & highly inaccurate when queried via Unity (even though it's dead-on when I open google maps)

  • @AtalDangwal
    @AtalDangwal 7 ปีที่แล้ว

    When i put my markless ar Script on top of my main camera i dont get Background and fit in the drop down menu of the Markerless Ar (10:22). and when i ran the application it only shows a white screen.

  • @ivanchu8528
    @ivanchu8528 7 ปีที่แล้ว

    Hello! That is a super good tutorial for me, can you tell me , which unity ver. use ????

  • @TheShinx93
    @TheShinx93 7 ปีที่แล้ว

    excellent tutorial!
    i'm waiting also for the GPS tutorial :D
    you may later make a tutorial on how to optimize the games/programs for the use of multicore?
    now all smartphones have two or more CPU cores

    • @n3ken
      @n3ken  7 ปีที่แล้ว +1

      Too many request about the GPS, i'm working on it should be out next week !

  • @minutesrankings
    @minutesrankings 5 ปีที่แล้ว

    Hi, when I run the first time, the screen is only crossing. When I run your sample the second time, it runs well. What is problem?

  • @edenmarina8752
    @edenmarina8752 5 ปีที่แล้ว

    Hello, can you please make a tutorial on how to make an augmented reality app on skin using Vuforia and Unity? Thank you, it would be a great help.

  • @AdeelJavedIm_Aj
    @AdeelJavedIm_Aj 7 ปีที่แล้ว

    helpful tutorial for my project thank you.i guess i will need your help in future too :)

  • @RAJKA1234
    @RAJKA1234 7 ปีที่แล้ว +1

    Can i somehow get current datetime from google cloud platform?

  • @ss5346
    @ss5346 6 ปีที่แล้ว

    Thanks for this tutorial, but i have one question, i export to android is success, but iphone not work, the compass in iphone is not point to north, is ios setting problem? please give me a hand, thank you

  • @edisyo
    @edisyo 5 ปีที่แล้ว

    Hey, do you know how to calculate GPS coordinates into Unity space? Like if I wanted to put object in specific GPS coordinate point, how should I do it?

  • @simsalaanimationen4247
    @simsalaanimationen4247 7 ปีที่แล้ว

    Can made a Tutorial for a 2 Playerscript that use 2 X-Boxcontrollers?

  • @adel1986
    @adel1986 6 ปีที่แล้ว

    hi, is it the same steps if we want to get access to laptop/desktop webcam and have 3D objects in the scene?

  • @pablotrujillo2394
    @pablotrujillo2394 7 ปีที่แล้ว

    how can I make the same in mobile device without gyroscopes. I try using compass and accelerometer but don't work well. Can u help me thx

  • @kennyjayanimation
    @kennyjayanimation 6 ปีที่แล้ว

    The best tutorials

  • @joshuasimard1003
    @joshuasimard1003 6 ปีที่แล้ว

    Hello,
    Were could I acquire the full script (copy/paste able)?
    Thanks! (Great tutorial!)

  • @gdkanna
    @gdkanna 6 ปีที่แล้ว

    Mr esp heroz, his question any bady have answer? because i had the same problem, pl help me code is nothing error

  • @tolik3823
    @tolik3823 7 ปีที่แล้ว

    I have waited for this video yestarday! But it looks cool anyway :)
    P.S. Maybe you try to make AR shooter? ;)
    P.P.S I am really waiting for video about GPS

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      We could do GPS next indeed, i feel like i should of covered it years ago

  • @asianspaghetti2844
    @asianspaghetti2844 4 ปีที่แล้ว

    Him: sorry about my typing
    Me: ASMR heaven

  • @chetanmrane
    @chetanmrane 7 ปีที่แล้ว +1

    this is awesome!!!
    is it possible to load the 3d objects at specific location (lat/long...those values will be entered in json) and when i move my device and reached close enough to any location within json, it will then activate relative asset on the screen.

    • @hayatkh185
      @hayatkh185 6 ปีที่แล้ว

      (can you explain how to do this, please ? I need this functionality (object appear in specific lat/log location
      but I​ don't know how to do this-this is first time I used unity

    • @michellefernandes2065
      @michellefernandes2065 6 ปีที่แล้ว +1

      Hi! I really need this functionality too, is there any video that teaches how to do that?

    • @hayatkh185
      @hayatkh185 6 ปีที่แล้ว

      www.imgportal.net/imgresources/?p=307
      I found this tutorial​ today but I didn't try it yet,, tell me if it help you

  • @muhammadalfi9670
    @muhammadalfi9670 7 ปีที่แล้ว

    Sorry My english is not good, how to get gps location friends for showing on my AR apps, where i can get this tutorial ? sorry my english bad. thanks,

  • @stevevargas4687
    @stevevargas4687 5 ปีที่แล้ว

    Comments are good! :) thanks!

  • @muji4553
    @muji4553 7 ปีที่แล้ว

    can I build this with webcam, not android phone ? thanks

  • @kentchiu166
    @kentchiu166 7 ปีที่แล้ว

    Definitely grateful for your tutorial.
    Besides, I wonder if the Input.compass.magneticHeading equals to Input.gyro.attitude.y?

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      Thats a good question, i know that the magnetic Heading points towards North Pole, but since gyro.Attitude is a quaternion, i have trouble to say if they are equal

  • @iwanbellamy7181
    @iwanbellamy7181 7 ปีที่แล้ว

    thanks dude, awesome tutorial..hey btw i need to switch between the front and back camera using boolean, how to achieve that?

    • @asianspaghetti2844
      @asianspaghetti2844 4 ปีที่แล้ว

      Check his camera video, it explains in detail how the WebCamTexture object works

  • @DigitalHamBurger007
    @DigitalHamBurger007 7 ปีที่แล้ว

    what if device have 2 primary camera and one secondary

  • @devendergupta_official
    @devendergupta_official 7 ปีที่แล้ว +1

    Can we augment a 3d model at a specific gps location......?

    • @hayatkh185
      @hayatkh185 6 ปีที่แล้ว

      could you find any solution
      ?

  • @temoorwali8003
    @temoorwali8003 7 ปีที่แล้ว

    Can we detect ground to augment object ?

  • @TheStigChristensen
    @TheStigChristensen 7 ปีที่แล้ว

    Hi there N3K,
    This isn't working for me, had a go at it thrice. My compas starts at the middle of the screen and stays there, is if it wasn't a Worldspace canvas. Do you know what might cause this?
    Thanks

    • @zoranlang8492
      @zoranlang8492 7 ปีที่แล้ว

      same problem here. The compass just stay in the screen

  • @rushichatur1179
    @rushichatur1179 6 ปีที่แล้ว

    I have 13 errors. can u plz provide the script of Markerless AR.

  • @elonova7097
    @elonova7097 6 ปีที่แล้ว

    is anyone getting the same problem where their 3d models are upside down? :/

  • @RajOnTheStreet
    @RajOnTheStreet 5 ปีที่แล้ว

    Thanks really helpful!

  • @mtnbkr5478
    @mtnbkr5478 7 ปีที่แล้ว

    Absolute beginner here, so I'm sure it's me, but but I followed the tutorial exactly, except using notepad++ because mono wasn't working for me. Loading the script into the Camera didn't populate 'background' and 'fit' as modifiable (attributes?). Any chance you could tell me what I did wrong?

    • @Raskabais
      @Raskabais 7 ปีที่แล้ว

      I prefer using Visual Studio which is much better than mono, and it shows errors/warnings. Notepad++ is good for some things, but not when you need to use smart debugging tools.

  • @NabilMajid
    @NabilMajid 7 ปีที่แล้ว

    It would be possible to place an object at the actual height of the floor?, even lowering the cellphone, the object would stay at the real height of the floor?

    • @healsnails
      @healsnails 7 ปีที่แล้ว

      you need something like Google Tango for that, normal phones have no way of scanning the physical space and making those calculations, Tango can.

  • @LukaS-tx9hu
    @LukaS-tx9hu 7 ปีที่แล้ว +1

    How to place 3D model in the scene, please help :P

  • @rauschundluxus
    @rauschundluxus 6 ปีที่แล้ว

    cool stuff, thanks

  • @DinGDonGvideoProduction
    @DinGDonGvideoProduction 6 ปีที่แล้ว

    please make tutorial on AR Navigation

  • @yasiriqbal4064
    @yasiriqbal4064 3 ปีที่แล้ว

    Helpful :)

  • @assstudio1760
    @assstudio1760 7 ปีที่แล้ว +1

    you are awesome

  • @mishel4932
    @mishel4932 4 ปีที่แล้ว

    without sdk? great

  • @realcolby
    @realcolby 4 ปีที่แล้ว

    Project Download?

  • @espheroz
    @espheroz 7 ปีที่แล้ว

    i run this on my android phone and it only show the compass, it does not use the camera and it does not rotate, what i did wrong?
    and it does not ask permission to allow camera either

    • @n3ken
      @n3ken  7 ปีที่แล้ว

      hello esp, post your code here: discordapp.com/invite/etX2zJB under #programming_help so we can help you. Thanks! ;3

    • @espheroz
      @espheroz 7 ปีที่แล้ว

      i just sent the code on the website above

    • @espheroz
      @espheroz 7 ปีที่แล้ว

      under the name newbie btw

    • @espheroz
      @espheroz 7 ปีที่แล้ว

      actually i just checked there is nothing wrong with the code. its just that my phone does not support gyroscope.

  • @wulianyao3541
    @wulianyao3541 7 ปีที่แล้ว

    great!

  • @renzeldayrit1943
    @renzeldayrit1943 6 ปีที่แล้ว

    Salamat :D

  • @SIMONKEY
    @SIMONKEY 6 ปีที่แล้ว

    What is your programming language?

  • @honnigorega
    @honnigorega 7 ปีที่แล้ว

    Anyone successfully deployed this on an iOS 10+ device?

  • @kirollosmagdy275
    @kirollosmagdy275 5 ปีที่แล้ว

    Face recognition pleaase