简体   繁体   English

对于 hololens,使用 MixedRealityToolKit V2 进行统一。 如何获得空间意识以获取表面类型(墙壁、地板、天花板等)?

[英]For hololens, using MixedRealityToolKit V2 for unity. How to access spatial awareness to get surfacetypes (wall, floor, ceiling etc)?

MRTK v2 Documentation about the subsystem in spatialawarness which separates the walls and floors are vague. MRTK v2 关于分隔墙壁和地板的空间感知子系统的文档含糊不清。 Older versions of the toolkit(holotoolkit) had at least example to understand more about surface types.旧版本的工具包(holotoolkit)至少有示例来了解更多关于表面类型的信息。 Please help understand about querying and enumeration with respect to walls/floors from spatial data.请帮助了解有关从空间数据中查询和枚举墙壁/地板的信息。

I am working on a simple project and I want to put a material only on the walls.我正在做一个简单的项目,我只想把材料放在墙上。 Spacial awareness systems helps giving wireframe or occulution to entire mapped mesh (layer 31- Spatial Awareness).空间感知系统有助于为整个映射网格提供线框或遮挡(第 31 层-空间感知)。 Is there a way to have walls alone in a different layer?有没有办法让墙单独在不同的层? for organisation.为组织。 Thank you.谢谢你。

Setup Unity Version [2019.1.7f1] MRTK Version [v2.0] Target Platform HoloLens HoloLens 2设置 Unity 版本 [2019.1.7f1] MRTK 版本 [v2.0] 目标平台 HoloLens HoloLens 2

https://microsoft.github.io/MixedRealityToolkit-Unity/api/Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes.html https://microsoft.github.io/MixedRealityToolkit-Unity/api/Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes.ZFC35FDC70D5FC69D2E5E36

It seems that SpatialAwarenessSurfaceTypes is not used elsewhere in MRTKv2, but instead you can use the Scene Understanding SDK. SpatialAwarenessSurfaceTypes 似乎没有在 MRTKv2 的其他地方使用,但您可以使用 Scene Understanding SDK。 SceneObject of Scene Understanding SDK can represents an instance of a "thing" eg a wall, a floor, a ceiling, etc..场景的SceneObject理解SDK可以表示“事物”的一个实例,例如墙壁、地板、天花板等。

More information please see: https://docs.microsoft.com/en-us/windows/mixed-reality/scene-understanding-sdk#sceneobjects更多信息请参阅: https://docs.microsoft.com/en-us/windows/mixed-reality/scene-understanding-sdk#sceneobjects

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM