Unity Augmented Reality Tutorial Lesson 01 - AR Simulation

  Рет қаралды 16,933

lightsandclockwork

lightsandclockwork

10 ай бұрын

Unity Augmented Reality Tutorial Lesson 01
Setting up Unity
Setting the Scene
Needed Packages
com.unity.xr.arfoundation 5.0.7
com.unity.xr.arcore 5.0.7

Пікірлер: 44
@camja11
@camja11 6 ай бұрын
I have already seen all these tutorials, thank you very much, your explanations have been very clear and motivate me to deepen in this discipline.
@multishep4340
@multishep4340 9 ай бұрын
This video was so helpful with the development of my unity augmented reality project, keep going! I would love to see more helpful content along the way.
@VoidCD7
@VoidCD7 9 ай бұрын
I agree, I would love to see more informative stuff
@Aeroaphy
@Aeroaphy 9 ай бұрын
ikr so epic, i love u mr parr@@VoidCD7
@hackdaniels4151
@hackdaniels4151 9 ай бұрын
Great tuto!
@neerajchaudhary7363
@neerajchaudhary7363 6 ай бұрын
Thank you so much sir for your great efforts this is such nice and fine tutorials. I am working on ar for college project thank you alot sir 😊
@thienphucquach1676
@thienphucquach1676 Ай бұрын
Thanks for your video, I have a question, why my prelab mars is not attached to the mars image :(( it's some distance away
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, A common problem, yuo have most likely moved the image on the tracked image empty, so the picture you can see is in one place, but the tracker is somewhere else. I recap this in my speedrun tutorial. kzbin.info/www/bejne/aIenhYp7rL6sm80
@teigencarter5465
@teigencarter5465 2 ай бұрын
I have a 2D UI that has been implemented on top of an AR camera. I want the user to be able to use the interface while still viewing AR objects. When I implement the trackedImage, it does not appear on the simulation view. As soon as I move my camera, in Unity, to point to the image, the UI disappear off the simulation. Do you know how I can make sure the UI and image both remain on screen?
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Oh, i am not sure why you are having this problem. It is not one i have come across. I would suggest have a watch of my speedrun video with common errors. Maybe you have missed a setting. The UI should stay where it is and allow you to click on other objects. I will be doing a split screen ui tutorial in the next few days.
@argentinayoutube8751
@argentinayoutube8751 2 ай бұрын
Hi, I have to suggest that the simulatedimageTracker should be rotate (-90,0,0). That simulatedImageTracker is facing upside by default(z axis point to forward),but the Quad Image is facing backward(z axis point to up). This will mislead the user and may incur some transform problems in real android devices.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Thanks, this is a good way to fix :)
@karanoli4914
@karanoli4914 7 ай бұрын
14:20 Great tutorial bro! Thanks a ton. Could you please help me with one thing, I tried to import a diff model instead of mars, let's say a human.. how do I rotate or reposition the model relative.. I want my model to look in a diff direction and to augment a little farther from the image with which its being tracked from. I actually have a college assignment for which we given to make an AR application and I just started using Unity. Thanks a lot
@lightsandclockwork
@lightsandclockwork 7 ай бұрын
Hi, Thanks :) In brief, Add an 'empty' rather than a sphere. Make sure to center to zero and rename to the same name as your tracked image. Now add your 'human' on to the empty, again zero the coordinates. They now should be aligned. Scale and move as required, this will create an offset. Drag the empty, with your human, to the assets window to create a prefab. Go check it, then trial and error to get it just right. I had to do a lot of trial and error on lesson 7 with the atari games. I will aim to include this in the next video. Thanks for watching, encourage your class mates to subscribe :) Thanks.
@lightsandclockwork
@lightsandclockwork 7 ай бұрын
I have now covered this in Lesson 08. Hope it helps.
@karanoli4914
@karanoli4914 7 ай бұрын
@@lightsandclockwork Thanks a ton!
@LONEWOLF-nf8fn
@LONEWOLF-nf8fn 3 ай бұрын
heyy....I followed everything step by step and the thing is earth and the mars were spawning but at totally different spots faar from the images...i tried doing the whole process again and now the planets just dont spawn....any help ?? Edit: i managed to spawn the planets but they are taking alot time to spawn now.... How do i fix it ??
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Hi, I am glad you sorted the spawning. I did a newer video that covers common mistakes. The time to spawn.. dont know, i know it's frustrating. I have done this with quite a few students in real classrooms and found the same problem. I have not found the pattern. It works much faster on a real mobile device. It can be quality of source images, scale, distance from virtual camera. Angle to camera...
@nomadictribe1321
@nomadictribe1321 2 ай бұрын
u might hv moved the child(quad) instead of the gameobject with trackablescript , or ur position of the prefab is not set to zero
@pracs6520
@pracs6520 6 ай бұрын
i wanted a 3d model to be displayed in the same way but without a marker image..how do i do that?
@lightsandclockwork
@lightsandclockwork 6 ай бұрын
If you mean place an AR 3d Model without tracking an Image, then you can use GPS to position your model to a precise location, or just set the model in 3d space in unity. This series is about image tracking. I will look at other methods in the near future. I will be doing surface tracking next.
@pracs6520
@pracs6520 6 ай бұрын
@@lightsandclockworksurface tracking meaning plane detection ?....also will be highly grateful if you help us step wise through your tutorials to explore different possibilities that we can create and work upon using ar and vr. Thank you!
@maxb.6710
@maxb.6710 Ай бұрын
@@lightsandclockwork Especially a tutorial about using GPS would be super helpful! Though there is a codelab from google, I didn't manage to get it running ...
@kombancr7
@kombancr7 3 ай бұрын
Xr plugin management, in Android don't show in XR simulator, what was the the problem and how to setup. I watched tutorial but problem was not fixed
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Hi, I made a dedicated video for android. kzbin.info/www/bejne/gJ-vq6KOermVjdU
@ProbablyJamie
@ProbablyJamie 4 ай бұрын
Hello! I followed the tutorial step-by-step, I only made one tracker image but it spawns two objects when I try to run it
@lightsandclockwork
@lightsandclockwork 4 ай бұрын
hi, have you remembered to delete the original prefab from the Scene?
@ProbablyJamie
@ProbablyJamie 4 ай бұрын
@andclockwork Yes I did, but it still didn't work I started over again and it works now. Is it normal for the object not to be centered near the image? Edit: I checked out the playlist and didn't notice the recent video, the tracking is fixed now Thank you so much!
@lightsandclockwork
@lightsandclockwork 4 ай бұрын
excellent glad you found it.
@Benaam-original
@Benaam-original 2 ай бұрын
When I click play. The sphere is not spawning. Help.
@Benaam-original
@Benaam-original 2 ай бұрын
I want to spawn a tooth on the basis of which card is shown. I am a dental student and want to make an app which shows a particular tooth when a card is shown. I have downloaded the model but I don't know how to deploy my model. But since my sphere isn't working either I don't know how to proceed further.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
that sounds a really cool project! :) Check my newer speed run version, it covers common errors. When you have the sphere working, you should be abe to parent the tooth the sphere and then turn the sphere renderer off.
@o.pedrobenetti
@o.pedrobenetti 4 ай бұрын
10:00 the prefab that i creat don't have any floor or wall, and the unity don't show my image for tracking
@lightsandclockwork
@lightsandclockwork 4 ай бұрын
Hi, sorry you having problems. My main thought is you have missed a step out, i have many students in an actual classroom and they miss one little bit and then nothing works. All i can suggest is go back through the video and check you have done every part. A common mistake is not including both packages with the correct versions. i.e. i use 5.0.7, but many students have chosen 4.x.x
@o.pedrobenetti
@o.pedrobenetti 4 ай бұрын
@@lightsandclockwork Yes, I just realized that instead of copying the prefab I created a new one, my bad
@lightsandclockwork
@lightsandclockwork 4 ай бұрын
I am glad you have fixed it :)
@TaskForge
@TaskForge Ай бұрын
I’m following this tutorial but every time I try to press play in the XR environment the window changes to “#scene” and nothing works as it works in the video.
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, I am sorry yuo are having issues. can i recommend you have a quick look at my other video? Common issues. kzbin.info/www/bejne/aIenhYp7rL6sm80
@nullzero3455
@nullzero3455 2 ай бұрын
the planet is not showing when I press on play, any suggestions?
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Please check the speed run version, i highlight common mistakes.
@VivekSingh-yj9bo
@VivekSingh-yj9bo 2 ай бұрын
Please help me. I am not able to simulate during play. I did the exactly same how you did.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Sorry, i am not sure where it may have gone wrong, please check my newer video where i sppedrun it and i cover common errors.
@VivekSingh-yj9bo
@VivekSingh-yj9bo 2 ай бұрын
@@lightsandclockwork I got it It was my fault. Thanks for replying ☺️
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
i am glad you solved it :)
Unity Augmented Reality Tutorial Lesson 02 - Multiple Image tracking
8:12
Mobile Augmented Reality: Web vs App
5:55
WeAR Studio
Рет қаралды 38 М.
Dáskalos - an interactive science teacher for augmented reality
1:14
prefrontal cortex
Рет қаралды 36 М.
Cross-Platform AR in Unity! - AR Foundation Overview
3:42
Pushing your Unity Augmented Reality App to an Android Device
9:15
Get Started with AR in Unity in 6 minutes!
6:59
Novaborn
Рет қаралды 130 М.
Build a beautiful 3D open world in 5 minutes | Unity
5:57
spaderdabomb
Рет қаралды 332 М.
AR / VR Development for Beginners: A 2023 Roadmap
23:35
Dilmer Valecillos
Рет қаралды 29 М.
Human Eye Augmented Reality Sample 2
1:29
Magic EdTech
Рет қаралды 4,3 М.