#Aligning Real and Virtual Worlds in AR Foundation

1 messages · Page 1 of 1 (latest)

bleak rampart
#

Hey everyone ^^
I'm currently experimenting with AR Foundation for mobile AR, and I’m trying to accurately align the virtual and real world in specific locations, like precise rooms or outdoor spots.
The goal is to overlay both worlds properly, so that my 3D content fits naturally into the environment — whether I'm indoors or outdoors.
So far, I’ve tried:
Photogrammetry, to get furniture positions and rough geometry
AR Tracked Image Manager in Unity, to spawn prefabs based on markers
Right now, I represent furniture with basic cubes, using a shader that hides my virtual objects when they’re behind those shapes (kind of like fake occlusion).
But I’m still struggling to accurately recreate real-world volumes in Unity, and get a satisfying overlap between real and virtual. Things never feel 100% aligned.
Has anyone here tried something similar? Or found a good workflow or tool to make this easier?
The idea is to have a marker that spawns a prefab, and that prefab should properly interact with the space around it.
Thanks a lot 🙂

Like that :

https://www.youtube.com/watch?v=3kON8eXYogk&t=215s

This video is part 3 of the Trimble Connect AR Tutorial Series. You will learn how to visualize your BIM data in the field with the Trimble Connect AR mobile app: placing the model on site, cross section, transparency, layers, and other visualization tools available to enhance your augmented reality experience.

Trimble Connect: https://connect....

▶ Play video
pulsar forge
#

In VR Unity one unit is one meter... don't know if that can make you scale it right though. AR should be the same.

small mauve
#

you can try niantic ardk