Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Can I use .obj room mesh to place 3D elements as a reference in UNITY?

Hi,
I would like to use the .obj mesh saved from my room to import in Unity (no problem with this, all done ok!) and then use this .obj to place some objects in reference to this mesh. Then, when open again this project in Hololens in the same room, I want to see this objects in the same place that I’ve already placed in Unity.

Is it possible?

For example, if I have my room mesh (.obj) I want to decorate the room in Unity (adding tables, chairs, pictures, etc) and to be sure when I using Hololens in this room all is going to be in the same place that I decided in Unity.
I can do all this things in opposite way using and saving spatial anchor, I mean, I can add this elements in run time with Hololens and then save this anchor to get persistence, but that is not my question.

Best Answer

Answers

  • Options

    So Nobody has thought what I am proposing? maybe I have not explained myself clearly?

    I would like to develop a method to scan my room in great detail (1200 triangles) and save the mesh + Spatial anchors information to open all this scenario in Unity. Then, I can place 3D objs precisely. So I will be sure when I deploy this 3D objs on Hololens I’ll see this objects in correct position, in the position that I decided in design time.

    I’m thinking in one way to get it:
    When I save .obj from Hololens using its web access, I can update Spatial anchors and I can see, like coordinate axis, over room mesh. unfortunately, even if you can see, you can not export this information to Unity (or I don't know how to do it). If I ask for this Spatial Anchors, in runtime, I guess I can place a Coordinate Axis obj on it (to see where they are). Then If I can save/export this Coordinate Axis objs I could open in Unity so I can use, like references, to place other 3D obj precisely.

    Any help would be appreciated !

  • Options

    @comodin.
    Did you get it to work? I have the same doubt.

    Software Developer at @Lambda3 - Brazil

Sign In or Register to comment.