Unity Augmented Reality Tutorial Lesson 02 - Multiple Image tracking

  Рет қаралды 17,169

lightsandclockwork

lightsandclockwork

Күн бұрын

Пікірлер: 45
@lolaraden6229
@lolaraden6229 Жыл бұрын
Thank you so much, only helpful tutorial I've found on this!!! Saved me for my project
@lightsandclockwork
@lightsandclockwork Жыл бұрын
Your welcome, i am glad it has been a help. Please feel free to make a suggestion for future content.
@namratabhadane4698
@namratabhadane4698 9 ай бұрын
@@lightsandclockwork thank you sir this video is very helpful sir i have project that i want make animated story by using image target you have any suggestion that than you can please help me
@vishvamurthy8089
@vishvamurthy8089 6 ай бұрын
How to remove the game object if the tracked image not on the scene? I tried setActive(false) and Destroy() but nothing works. need some help.
@lightsandclockwork
@lightsandclockwork 6 ай бұрын
Unfortunately not. I spent a long time trying to come up with an alternative. The 'lost tracking' function inferred in the oculus/unity documentation hasnt been implemented. I tried adding a timer to auto delete, but it didnt pick it back up when it started tracking again.
@vishvamurthy8089
@vishvamurthy8089 5 ай бұрын
@@lightsandclockwork Ho okay, thank you for the reply . Happy coding 🧑🏻‍💻😄
@gangeshsakthi8686
@gangeshsakthi8686 Ай бұрын
Man I can't save the effects of the script it says file path attribute is missing
@lightsandclockwork
@lightsandclockwork 23 күн бұрын
Apologies for the delay - You have possibly downloaded the file into the wrong folder?
@gangeshsakthi8686
@gangeshsakthi8686 Ай бұрын
And the prefabs don't seem to recognise the image they span some where else
@lightsandclockwork
@lightsandclockwork 23 күн бұрын
See my video with common mistakes, it is easy to create an offset with the models and tracking images
@didinks1012
@didinks1012 Жыл бұрын
Thank you so much for the clear tutorial! It's exactly what I needed and I really appreciated you going through the code and explaining it. I have an unexpected problem - everything works perfectly once I build the app on an Android phone, but nothing really happens in the play mode in unity - I placed the reference image targets, but the prefabs don't spawn on them. It works with the AR Target Image manager only - in which case I and up just having one prefab spawned over the two reference images. But if I put no image as a tracked image prefab in the manager and leave it to the Image Tracker script - no prefab is activated. I have both the AR Tracked image manager and the Image Tracker script on my XR Origin. Have you encountered a problem like this? Cheers!
@lightsandclockwork
@lightsandclockwork Жыл бұрын
Yes. Many times.. My IRL students have. The most common error is not naming the prefabs the EXACT same name as the image you are tracking. Or forgetting to put the images in the image library. Another mistake is in edit mode, displacing the prefab 3d object from the empty it is attached to. I am planning to make a common errors video. ASAP.
@didinks1012
@didinks1012 Жыл бұрын
@@lightsandclockwork common errors video would be so helpful, thank you for doing this! I checked those mistakes and everything seems to be set up properly, also the weirdest thing for me is that once I make a build on my Android phone it works almost perfectly - only when moving the reference image it lags a bit, the tracking could be better, but it still works. I'm curious about what you mentioned while explaining the script about not putting a destroy function because AR Core doesn't support it. I'm curious to know more about that? And if there is any way to support the channel
@lightsandclockwork
@lightsandclockwork Жыл бұрын
Hmm, sorry don't know. It can be hard to debug at a distance. You have created separate projects for each one? My simulation is a different project to my Android one. I only did simulation as at the school i work at we cannot plug in our phones to compile to. The lag is outside of my control. My phone (galaxy note) is pretty good, but one of my students has a much older phone and is quite laggy. Support? Thank you for the thought. Like and share :)
@wagmidahal2228
@wagmidahal2228 2 ай бұрын
Really grateful for the tutorial. But I get the same prefabs for both planets.I checked the code; its the same. Do you have something to help me with?
@lightsandclockwork
@lightsandclockwork Ай бұрын
Sorry, i did respond to this, but it didnt seem to post!? Did you remove the prefab from the original Tracking Manager Script? Did you name and tag correctly?
@MeanMachine995
@MeanMachine995 9 ай бұрын
Hi I have a problem which I couldn't resolve even with the new video... I have 2 images set up as well as 2 prefabs. The problem is, it alway instatiates both prefabs on top of each other even if only one trackable image is there to be recognized... I already checked the naming... I have no idea what is happening here... Hope you hav an idea. Thanks in advance!
@lightsandclockwork
@lightsandclockwork 9 ай бұрын
A coulpe of things?? Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidently parented the 2 prefabs?, open each one (double click the actual prefab)
@marieforschbach1007
@marieforschbach1007 4 ай бұрын
Thank you so much for your tutorials, they have been incredibly helpful! Have you ever considered a project on how to design a cubical, 6-sided tracked object to project something onto the cube? I'd really appreciate input on that kind of AR-tool!
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
I have been thinking about this since you mentioned it. It should be no different than what i show here... except.. when you can no longer see the sides. At the time i did this tutorial there was no obvious way to handle lost tracked images. I will re-look into it.
@marieforschbach1007
@marieforschbach1007 3 ай бұрын
@@lightsandclockwork thanks a lot! :)
@zaeem7641
@zaeem7641 8 ай бұрын
thank for the video , but can we put 1 image and 1 video together? can you show some tutorial
@lightsandclockwork
@lightsandclockwork 8 ай бұрын
You're welcome. Do you mean play a video over the tracked image? If so, i cover that in this video. kzbin.info/www/bejne/gJ-vq6KOermVjdU
@zaeem7641
@zaeem7641 8 ай бұрын
@@lightsandclockwork yeah like that , but my final project is i have must 3d object plus a video over the tracked image , can you show me some tutorial , by the way where i can contact you if i have any question?
@lightsandclockwork
@lightsandclockwork 8 ай бұрын
Hi, I show you how to add a video in the link i shared. Sorry not available for direct support at the moment, I have a lot on with my full time job.
@lightsandclockwork
@lightsandclockwork 8 ай бұрын
As mentioned try the video i added the link to, if you dont succeed, let me know.
@lightsandclockwork
@lightsandclockwork 8 ай бұрын
Apologies, i do not explain it! I thought i did. I briefly mention it here. kzbin.info/www/bejne/ioi8YqKbpa2qn9Usi=9h8soB9rL1yTL4mT&t=291 But basically, create a cuboid and drag a video on to it, like you apply an image texture. I'll try and fit it in a video soon.
@keknait6724
@keknait6724 6 ай бұрын
Hey, its really nice tutorial. But i cant figure out why my build is not working. Its perfectly okey in the unity but when i build for the android its not working. My cam is working in app but its not tracking the images i guess cause when i scan the image from app my prefabs doesn't show up. Can you help about this case? Or any suggestions?
@lightsandclockwork
@lightsandclockwork 6 ай бұрын
Hi, Thanks. Have you watched my Android specific video? kzbin.info/www/bejne/gJ-vq6KOermVjdU
@keknait6724
@keknait6724 6 ай бұрын
@@lightsandclockwork Yeah sure i watched all the videos. And i did all the build settings. But as i said the app is not working :/
@lightsandclockwork
@lightsandclockwork 6 ай бұрын
really sorry, very hard to know over the net. In my real classes i can spend a long time trying to figure out why something isnt working, it sometimes can a missing tickbox, wrong library. Sometimes, starting a fresh project can magically fix problems.
@Hackcastq
@Hackcastq Жыл бұрын
Hello, the tutorial is very useful for me, but when I wanted to install the demo in the first video on my phone (android) and try it, it didn't work, could you please help me?
@lightsandclockwork
@lightsandclockwork Жыл бұрын
Hi, Exporting to android requires creating quite different project settings and a new scene making. The code stays the same. I will covering this in a new tutorial in the very near future.
@lightsandclockwork
@lightsandclockwork Жыл бұрын
New tutorial out now.
@crossfire8219
@crossfire8219 8 ай бұрын
the prefabs are not appearing i followed your instructions well
@lightsandclockwork
@lightsandclockwork 8 ай бұрын
Hi, Check out my other video, i include common errors. Also, I have identified a new common error, try scaling down your images and dont have them too far away from the camera. kzbin.info/www/bejne/aIenhYp7rL6sm80
@AnjaFritschi
@AnjaFritschi 9 ай бұрын
Thanks for the tutorial. Everything worked pretty well but i keep getting the same prefab gameobject for both pictures even tho i have the exact same code script as you. do you have some inputs where to look at?
@lightsandclockwork
@lightsandclockwork 9 ай бұрын
Hi, It might be worth checking my later video where i speedrun the whole thing while going over common errors. but... This video has been out a while and i have yours is the same problem in 2 days.. i wonder if a unity update has changed things. You may want to try... Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidentally parented the 2 prefabs?, open each one (double click the actual prefab)
@TheItachi4077
@TheItachi4077 3 ай бұрын
Very nice tutorial
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Thanks for watching
@arunstedaxis
@arunstedaxis 5 ай бұрын
i have exported the app at this stage but marker isnt working ...idk why if u open the app and show the image from monitor its not showing the model i fixed
@lightsandclockwork
@lightsandclockwork 5 ай бұрын
Hi, Have you watched my dedicated android tutorial? kzbin.info/www/bejne/gJ-vq6KOermVjdU
Unity Augmented Reality Tutorial Lesson 03 - Interactive Clickable Objects
14:17
Unity Augmented Reality Tutorial Lesson 01 - AR Simulation
15:57
lightsandclockwork
Рет қаралды 40 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Unity AR Foundation - AR Image Tracking Tutorial
15:21
FireDragonGameStudio
Рет қаралды 24 М.
Vuforia Unity tutorial - Image (multiple) targets (2024)
9:52
RedController Interactive
Рет қаралды 2,6 М.
Augmented Reality Unity 6 | Plane Detection | Unity tutorial
12:23
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 574 М.
Can You Beat Minecraft From One Grass Block?
35:27
Beppo
Рет қаралды 6 МЛН
Augmented Reality Shapes Combined from Trackers Unity3D Vuforia
16:45
Edgaras Artemciukas (OurTechArt)
Рет қаралды 31 М.
Get Started with AR in Unity in 6 minutes!
6:59
ProfitGoat
Рет қаралды 134 М.