Occlusion (in 3D)

Occlusion is when a real object in the scene hides part of a virtual product, so a 3D sofa or rug looks like it sits behind or under the furniture already in the room.

Quick Read

Occlusion is when real objects hide part of a virtual product, so it looks like it sits behind or under them. Live AR estimates depth from the camera; a photo-based visualizer reconstructs the room's geometry instead. Imersian uses one-photo room reconstruction so rugs slide under existing furniture.

Key Takeaways

  • Occlusion hides the parts of a virtual product that real objects would cover.
  • It needs depth: live AR estimates it from the camera, a photo visualizer reconstructs it from the image.
  • Without it, a rug is drawn over the furniture legs and shoppers stop trusting the preview.
  • Imersian reconstructs the room from one photo, with no app, markers or LiDAR, and uses that geometry for occlusion.

How occlusion works

To get occlusion right, software needs to know how far away each part of the scene is, then draw the product only where nothing nearer is in the way. Phone AR frameworks estimate a depth map from the camera: Google's ARCore Depth API uses one so virtual objects can appear behind real ones (Google ARCore), and Apple's ARKit can hide virtual content behind people in the camera view (Apple).

A single photo has no live depth sensor behind it. Instead, the software reconstructs the room's geometry from the image: the floor, the walls and the objects standing on the floor. With that geometry it knows that the coffee table is in front of the rug and the armchair is in front of the lamp.

Why it matters for furniture and rug stores

Without occlusion, a rug placed under a coffee table is drawn over the table's legs, and a sofa placed behind an armchair floats in front of it. Shoppers notice at once and stop trusting the size and position they see. For rugs it is the whole point: a rug is bought to sit under a sofa, a bed or a dining table, so the preview has to show it there. For furniture, occlusion shows how a new piece relates to what the shopper already owns.

How Imersian uses occlusion

The Imersian Visualizer reconstructs the room from one photo, explained under room reconstruction, and uses that geometry for occlusion. A rug slides under the existing sofa, and a lamp stands on the floor behind the armchair instead of floating in front of it. The same Spatial AI sets true scale and shadows. It runs in the browser, with no app, markers or LiDAR. See it on rugs.

Frequently asked questions

Does occlusion need LiDAR?

No. LiDAR helps live AR measure depth, but depth can also be estimated from camera images. Imersian reconstructs the room from one ordinary photo.

What is the difference between occlusion and shadows?

Occlusion decides which parts of the product are hidden by real objects. Shadows ground the product on the floor and match the room's light. A product needs both to look like it is really there.

Why does a rug look like it is floating on top of my furniture?

The tool has no occlusion: it pastes the rug over the photo instead of placing it into the room's geometry. A visualizer with occlusion draws the rug under the furniture's legs.

Related terms: room reconstruction, true to scale, 2.5D visualization and WebAR.

Where this shows up in the product

Rug visualizer

Let shoppers see any rug at true scale in their own room, under the sofa. A rug visualizer for online retailers. Book a demo.

How to choose a room visualizer

A neutral buyer checklist for furniture and rug retailers: the four types of room visualizer, ten questions to ask any vendor, how pricing is metered and how to test on your own products.