Coder Social home page Coder Social logo

Comments (14)

noon974 avatar noon974 commented on June 8, 2024 1

Hi there, looks like 4.27.1 has just released !
What can we expect from Microsoft Open XR Scene Understanding exactly ?

from microsoft-openxr-unreal.

dgough avatar dgough commented on June 8, 2024

I'm currently working on adding Scene Understanding support to the Unreal plugin using the XR_MSFT_scene_understanding OpenXR extension.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

I'm currently working on adding Scene Understanding support to the Unreal plugin using the XR_MSFT_scene_understanding OpenXR extension.

Very cool, thanks for letting me know.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

Any ETA on this?
Thnaks.

from microsoft-openxr-unreal.

sw5813 avatar sw5813 commented on June 8, 2024

Hi @shukenmg, we're waiting on an engine fix we need to come out in 4.27.1- after that, SU will be ready to go.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

Ok, looking forward to it.

from microsoft-openxr-unreal.

fieldsJacksonG avatar fieldsJacksonG commented on June 8, 2024

#28

Documentation is upcoming, but you can take a look at the SpatialMappingActor for how SU works.
Use SceneUnderstanding in ToggleARCapture to use, and GetObjectClassification on the ARTrackedGeometry to identify what type of mesh it is.

There are also a few ini entries you can set to control the behavior of scene understanding:

  1. ShouldDoSceneUnderstandingMeshDetection will add meshes that overlap planes. Otherwise SU will only map planes. (This will be added as a new checkbox in the ARSessionConfig in a future engine release)
  2. SceneUnderstandingVolumeHeight is an optional entry to control the height of the scan volume. Otherwise the scan will be a sphere sized by the SpatialMeshingVolumeSize in the HoloLens project settings.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

Nice, this works well, thanks for all the work!
:)

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

image

Does this mean that full scene understanding can now be supported via remoting?
Thanks!

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

Great! Thanks so much @fieldsJacksonG !

from microsoft-openxr-unreal.

fieldsJacksonG avatar fieldsJacksonG commented on June 8, 2024

Version 1.1.12 is going into the marketplace now with this remoting version.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

@fieldsJacksonG Hi!

When I enable generate collision like this
image

UE5 crashes with this:

Assertion failed: CurrentCookHelper == nullptr [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp] [Line: 619]

UnrealEditor_Engine!UBodySetup::CreatePhysicsMeshesAsync() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:619]
UnrealEditor_MRMesh!UMRMeshComponent::SendBrickData_Internal() [D:\build\++UE5\Sync\Engine\Source\Runtime\MRMesh\Private\MRMeshComponent.cpp:768]
UnrealEditor_MRMesh!UMRMeshComponent::UpdateMesh() [D:\build\++UE5\Sync\Engine\Source\Runtime\MRMesh\Private\MRMeshComponent.cpp:1101]
UnrealEditor_AugmentedReality!UARPlaneComponent::UpdateVisualization_Implementation() [D:\build\++UE5\Sync\Engine\Source\Runtime\AugmentedReality\Private\ARComponent.cpp:418]
UnrealEditor_CoreUObject!UFunction::Invoke() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5912]
UnrealEditor_CoreUObject!UObject::ProcessEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2003]
UnrealEditor_AugmentedReality!UARPlaneComponent::OnRep_Payload() [D:\build\++UE5\Sync\Engine\Source\Runtime\AugmentedReality\Private\ARComponent.cpp:175]
UnrealEditor_AugmentedReality!UARPlaneComponent::execServerUpdatePayload() [D:\build\++UE5\Sync\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\AugmentedReality\ARComponent.gen.cpp:1606]
UnrealEditor_CoreUObject!UFunction::Invoke() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5912]
UnrealEditor_CoreUObject!UObject::ProcessEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2003]
UnrealEditor_AugmentedReality!UARPlaneComponent::ServerUpdatePayload() [D:\build\++UE5\Sync\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\AugmentedReality\ARComponent.gen.cpp:1651]
UnrealEditor_AugmentedReality!UARPlaneComponent::Update() [D:\build\++UE5\Sync\Engine\Source\Runtime\AugmentedReality\Private\ARComponent.cpp:175]
UnrealEditor_OpenXRAR!FOpenXRARSystem::OnObjectUpdated_GameThread() [D:\build\++UE5\Sync\Engine\Plugins\Runtime\OpenXR\Source\OpenXRAR\Private\OpenXRAR.cpp:744]
UnrealEditor_OpenXRAR!TBaseSPMethodDelegateInstance<0,FOpenXRARSystem,1,void __cdecl(void),FDefaultDelegateUserPolicy,TSharedPtr<FOpenXRARTrackedGeometryData,1> >::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor_OpenXRAR!TGraphTask<FSimpleDelegateGraphTask>::ExecuteTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:975]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:753]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:642]
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2169]
UnrealEditor_Engine!FTickTaskSequencer::ReleaseTickGroup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:565]
UnrealEditor_Engine!FTickTaskManager::RunTickGroup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1592]
UnrealEditor_Engine!UWorld::RunTickGroup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:790]
UnrealEditor_Engine!UWorld::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1531]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1777]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:474]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]

How can I fix this? Thanks!

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

@fieldsJacksonG
I found a issue with SU, it doesn't return mesh data, only planes.
In the docs it mentions that it can return a watertight mesh and also object meshes.

from microsoft-openxr-unreal.

shukenmg avatar shukenmg commented on June 8, 2024

@fieldsJacksonG
It would also be cool if it were possible to actually tag/classify the Unknown objects as BACKGROUND/INFERRED/UNKNOWN
Maybe this is waiting on an engine change?

Thanks!

from microsoft-openxr-unreal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.