We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.
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.
The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.
On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.
So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.
Mapping 2d sprite to surface object.
Hello.. My project is to have a 2D image (RGB4444 format) that needs to be overlaid over spatial mapping mesh. Currently, I have a flat sprite which just loads the Texture2D. It does not reflect the shape of a surface mesh. The sprite image is about 7 inches by 7 inches. A bumpy mesh should project a bumpy image overlaid on the mesh. My plan on approaching this problem:
1. Retrieve the meshes from the spatialMappingManager object,
2. Map the sprite coordinates to the mesh coordinates (I assume both are on the same coordinate system),
3. Update the color property of the mesh for the vertices that align to the vertices of the sprite.
I am currently stuck with part 1. Seems like the function SpatialMappingManager.Instance.GetMeshes() returns collection of meshes which I don't know how to work with. Why so many meshes when I have only one environment? I only want to update the color of vertices that align with the sprite (not the entire environment that spatial map captures). I would appreciate some support on how to proceed! Also, I am not sure if my plan is good.. any direction would be much appreciated!