Unity3d with AR Foundation - How To Add An AR Tracked Image Manager At Runtime?

  Рет қаралды 11,969

Dilmer Valecillos

Dilmer Valecillos

4 жыл бұрын

Unity AR Tracked Image Manager can now be added at runtime based on Unity’s latest version of AR Foundation (3.0).
In this video I provide you with source code and show you how to add this component on start as well as what it is required to make sure that the tracker behaves correctly. The reference image library is still referenced through the inspector but associated to the AR Tracked Image Manager at runtime.
In the next video I will experiment with creating and toggling through reference libraries.
Source Code:
github.com/dilmerv/UnityARFou...
** Support me by Subscribing to the channel as it will help me in bringing a lot more content and also as a way to show your appreciation for the free source code provided above **
bit.ly/2NmnFMu
** Find the source code in Patreon and support me if you can even if it is with one of the lower tiers as it helps me in bringing you more content - THANK YOU **
/ dilmerv
** EQUIPMENT USED TO RECORD THIS VIDEO **
- Rode Wireless Go - amzn.to/2J7RCw6
- Rode smartLav+ Omnidirectional Lavalier Microphone for iPhone and Smartphones - amzn.to/2LBQra6
- Rode SC7 3.5mm TRS to TRRS Patch Cable - amzn.to/2XTaYxv
- Blue Snowball iCE Condenser Microphone - amzn.to/2Ija0lo
- JOBY GorillaPod 3K Kit. Compact Tripod 3K Stand - amzn.to/2Xh4Bni
- JOBY GorillaPod 5K Kit. Professional Tripod 5K Stand - amzn.to/31Ew0yW
- Photography Photo Portrait Studio 600W Day Light Umbrella - amzn.to/2WwI0Tc
- AmazonBasics 60-Inch Lightweight Tripod with Bag - amzn.to/2Wd8utF
- Canon EOS Rebel T6 Digital SLR Camera Kit - amzn.to/2WcnRlV
Get realtime indie development tips from me in Twitter
/ dilmerv
Subscribe to my indie development videos & game releases newsletter
www.dilmergames.com
Blog about Indie development and startup
www.dilmergames.com/blog

Пікірлер: 19
@franciscocriscuolo6350
@franciscocriscuolo6350 4 жыл бұрын
Always perfect. Thank you for all, Dilmer.
@dilmerv
@dilmerv 4 жыл бұрын
Thanks Francisco that’s very kind !
@sandeepkulkarni8835
@sandeepkulkarni8835 4 жыл бұрын
I want to fetch the obj model in runtime From url it is coming in unity editor but When I play this in my phone it is Not coming tell me how to see url object in AR foundation
@Ahmedzicas
@Ahmedzicas 3 жыл бұрын
Great and so easy explanation ,but i have a simple question if u please is there a way to use the addressable system to include arcore ReferenceImageLibrary.asset ? so I can handle target images dynamically thanks for ur efforts
@alextreme98
@alextreme98 Жыл бұрын
Great tutorial, btw, for cleaning/removing images from library, is there a solution that doesn't create memory leaks?
@dilmerv
@dilmerv Жыл бұрын
I will redo this video very soon and answer your question thanks for your feedback.
@chacaldesbois1600
@chacaldesbois1600 4 жыл бұрын
Hello, thanks for all your tutorials! I'm trying to combine this tutorial with the one using ARGameObject, to be able to have different Gameojects on different Cards for exemple? Maybe it would be easier to change ARGameObject tutorial to change rotation/transformation and have the same effect as this tutorial? What would be your advises. Thanks in advance.
@dilmerv
@dilmerv 4 жыл бұрын
This video shows you exactly what you need kzbin.info/www/bejne/n36TmJuhq9iFpdU thanks for your time !
@chacaldesbois1600
@chacaldesbois1600 4 жыл бұрын
@@dilmerv Thanks a lot, how did i miss this! ;)
@ercuesy
@ercuesy 4 жыл бұрын
Hola Dilmer! Again, great videos! One question: I've been experimenting with eventArgs.removed but that list seems to be always empty when tracked images are removed from camera view. Could you make a video to show how this is supposed to work? Gracias!
@dilmerv
@dilmerv 4 жыл бұрын
Ernesto sure I can do some testing to make sure that part is working :) thanks for the suggestion !
@ercuesy
@ercuesy 4 жыл бұрын
@@dilmerv Gracias, hermano!
@aHardReset
@aHardReset 4 жыл бұрын
Hi! Great videos, they are awesome. Can you helpme with this please? I have an S3 bucket, with a bundle of images, this is because I want to add images without compiling again all the app, so with Https I download those Images (as 2D textures) everytime the app restarts, so the question is can I do something like: foreach 2DTexture in ArrayOf2DTextures: ReferenceImagelibrary += 2DTexture So my 3Dmodel can appear in whatever downloaded image. Thanks, I will keep around your channel this content is really usefull.
@aHardReset
@aHardReset 4 жыл бұрын
Ohh wait, I think with this video I can handle it! Name: Unity3d with AR Foundation - How To Capture And Track Images In RealTime? kzbin.info/www/bejne/l5eQp4xoh9N8otU By the way its yours too, so thanks**3
@dilmerv
@dilmerv 4 жыл бұрын
Thanks I am glad that helped !
@MarcelloNisiEngineer
@MarcelloNisiEngineer 2 жыл бұрын
hi Dilmer I use unity version 2020.3.15f2 and I get these errors if I load your code "TrackedImageInfoRuntimeMultipleManager" can you help me to solve? thank you Assets\Scripts\TrackedImageInfoRuntimeMultipleManager.cs(64,99): error CS1061: 'XRImageTrackingSubsystem' does not contain a definition for 'SubsystemDescriptor' and no accessible extension method 'SubsystemDescriptor' accepting a first argument of type 'XRImageTrackingSubsystem' could be found (are you missing a using directive or an assembly reference?) and Assets\Scripts\TrackedImageInfoRuntimeMultipleManager.cs(65,108): error CS1061: 'XRImageTrackingSubsystem' does not contain a definition for 'SubsystemDescriptor' and no accessible extension method 'SubsystemDescriptor' accepting a first argument of type 'XRImageTrackingSubsystem' could be found (are you missing a using directive or an assembly reference?)
@dilmerv
@dilmerv 2 жыл бұрын
I recommend looking at the official Unity examples since I haven’t updated the repo shown in this video in a long time. Here is the official AR Foundation GitHub repo 👉 github.com/Unity-Technologies/arfoundation-samples
@dilmerv
@dilmerv 2 жыл бұрын
Thanks for your question !
Unity3d with AR Foundation -  How To Capture And Track Images In RealTime?
11:15
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 5 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 17 МЛН
My New VR/MR Portable Developer Setup (Alienware x16 R2 First Impressions)
0:53
Unity App Shows Black Screen When Running
3:12
Rabi Gurung
Рет қаралды 18 М.
How to Transfer Data Between Scenes in Unity (Simple)
3:29
Max O'Didily
Рет қаралды 9 М.
AR Foundation Image Tracking - Unity Augmented Reality/AR
7:48
Dev Enabled
Рет қаралды 62 М.