Testing of Mutable Runtime Reference Image Library in Unity Editor: XR Simulation + AR Foundation
This is a Video Demo on How to test Mutable Runtime Reference Image Library correctly in Unity based on my Text Tutorial ⭐ #MutableRuntimeReferenceImageLibrary
MutableRuntimeReferenceImageLibrary is intended to add Images for Tracking on the go when the user has running app on his phone. Using AR Foundation and the next tips, you can test the Adding of New Images into the Mutable Library in the Runtime correctly with XR Simulation.
---------------------------------
Demo Scene to Test
---------------------------------
There is BasicImageTracking Example Scene that uses Mutable Library in AR Foundation Samples, and I:
🧶 1. Duplicated the Simulated Environment by Default: Window — XR — AR Foundation — XR Environment — XR Environment overlay — Pencil icon — Duplicate Environment.
🧶 2. Added one more Tracked Image next to the existing one on the Scene and set the Image field of its Simulated Tracked Image component for All Images: to bind a simulated tracked image to your reference image library.
🧶 3. Added the next parts of code in the OnTrackablesChanged() method of .
-----------------------------------
2 Approaches to Test
-----------------------------------
You can test the Adding of New Image in Runtime using 2 predefined lists.
🧶 1. added list
foreach (var newImage in added)
{
(“added : “ );
}
There is no reaction to added list when a new image added to the library during runtime because all Simulated Tracked Images were in the Camera View at start.
The Simulated Environment assumes that AR Image is static in the environment, so once it appears in the camera view, it marks as static because this is not a separate image — this is a container for an image () which is not moving.
To trigger added list, you just need to add a new into the camera view: you can just place the SimulatedTrackedImage Game Objects before the Scene Start at some distance to the right/to the left from the Camera View.
This method will not work for true testing goals:
Scene View — open Duplicated Simulation Environment prefab to observe camera position — root Game Object — Simulation Environment component — Camera Starting Pose — Rotation/Position.
🧶 2. updated list
foreach (var newImage in updated)
{
(“updated: “ );
}
It can trigger perfectly for Added Image in Runtime and you can track the first appearance after adding an image to the library.
-----------------
Resources
-----------------
🧶 Complete AR Testing Tutorial:
🧶 My AR Assets:
#AR #Unity #ImageTracking
19 views
711
326
1 month ago 00:20:37 1
[Markiplier] Every TikTok I’ve Ever Liked
1 month ago 00:10:18 286
Attractive Colors 12K HDR Video ULTRA HD Dolby Vision (4K / 8K TV)
1 month ago 00:08:13 288
Best of OLED Dolby Vision - 4K HDR 120 fps
1 month ago 00:00:29 411
Thousands of anti-fascist protesters accuse Israel, NATO and Ukraine of war crimes
1 month ago 00:14:08 5
[Valeriya ASMR] ASMR Готовлю вас к ноябрьскому челленджу 🥜
1 month ago 00:02:58 3
[sanekszz] Зашел за братву против жителей на ARIZONA RP GILBERT || #битвазанефтевышки #битвазапритон
1 month ago 01:41:40 47
Как работает STALKER 2 на Steam Deck/Lenovo GO/Asus Rog Ally X/MSI Claw/GPD Win4/OnexPlayer/Asus z13
1 month ago 00:13:59 13
Russia will continue testing the newest missile system Oreshnik! Putin
1 month ago 00:02:07 1
Anyma Rebūke - Syren_4K
1 month ago 00:00:20 2
In Israel, protests have become a tradition on Saturdays. Demonstrators once again demanded the replacement of the current ultra
1 month ago 00:05:46 1
[FoxTailWhipz] These Cheap Cameras Are LYING to You!
1 month ago 00:00:26 3
️ Several systems of this kind are in the process of development for testing at the moment. We have a whole lineup of medium and
1 month ago 00:10:42 1
[Pierrick Picaut] How to make a short film in Blender
1 month ago 00:13:00 1
[Pierrick Picaut] Blender’s animation tool you should always use
1 month ago 00:10:18 79
[8K] STALKER 2 Heart of Chornobyl RAY TRACING Mod Complete RT RTX4090 Ultra Realistic Showcase
1 month ago 00:06:12 1
[Intel Arc Testing] Intel Arc A750 - Rebar ON vs OFF - Test In 8 Games
1 month ago 00:03:20 1
[CNBC Television] Beijing reinstates some coronavirus restrictions amid new outbreak
1 month ago 00:04:04 1
[CNBC Television] What to expect from CES 2020
1 month ago 00:03:01 15
Pencil test - The Little Mermaid “Part of Your World“
1 month ago 00:05:11 73
CamaraD Vertolёt (камарад вертолет) в ремонте у производителя прикормочных корабликов CorveD
1 month ago 00:02:13 4
[CNBC Television] CDC advisors to weigh in on Pfizer’s Covid vaccine for kids 5 to 11
1 month ago 00:01:39 1
🎯 Get product samplers free cosmetics ❕ How To Get Cosmetics Samplers 🔥
1 month ago 00:01:39 1
⚪ Free perfume samples usa ☑ Free Cosmetics Tiande 😎