Items with no label
3335 Discussions

How to render an object on top of a surface? Preferably in Unity.

ALdlm
Beginner
1,267 Views

I'm currently using the D415 camera.

As part of my Augmented Reality project, I'm trying to render an object on top of a flat surface, like a table for example. I managed to detect when a surface is flat by using the Point-Cloud Library (PCL), but I don't know where to start to render an object on top of that detected surface. Ideally I'd like to know how to do so in Unity, but most of the guides in the internet involve ARCore, ARKit, or Vuforia, which are made only for mobile devices as far as I know.

Where can I find a guide on how i can render an object on top of a flat surface in Unity? Thanks.

0 Kudos
1 Solution
MartyG
Honored Contributor III
220 Views

A starting point would be to look at the 'AR Background' sample that that is included with the Unity wrapper. It can be found at this RealSense SDK folder location:

Wrappers > unity > Assets > RealSenseSDK2.0 > Scenes > Samples

View solution in original post

0 Kudos
2 Replies
MartyG
Honored Contributor III
221 Views

A starting point would be to look at the 'AR Background' sample that that is included with the Unity wrapper. It can be found at this RealSense SDK folder location:

Wrappers > unity > Assets > RealSenseSDK2.0 > Scenes > Samples

0 Kudos
ALdlm
Beginner
220 Views

Thanks, I'll start testing with those samples. I'll update if anything comes up.

0 Kudos
Reply