Jul 12 2021 05:00 AM
I successfully saved and displayed the spatial mesh after scene understanding room scanning process. Now I am struggling about how to apply hololens camera live texture to mesh. Any Solution?
Jul 12 2021 12:20 PM
Jul 14 2021 05:25 AM
Thank you for your reply. My use case is display the current Room with real color texture at runtime in front of the hololens camera. It is like a 3D minimap. I am using unity3d(2019.4.23 version) with c#. I have imported the scene understanding plugin for Room scanning. Room scanning and displayed the room mesh functionalities are completed. Now I want apply the real world room texture to the displayed mesh.
I have attached my sample output.
Aug 13 2021 07:08 AM
Aug 14 2021 06:41 AM
Aug 16 2021 05:21 AM
Aug 17 2021 08:19 AM
A person that worked with me diged up on that code and managed to "convert" it to a newer version, supposedly compatible with Hololens 2. You can find a version over https://github.com/danielcamara/Holo2CameraTextureMapping.
Unfortunately it does not work, it gives no compilation errors, but does not work. It can be a better starting point for someone that want to adapt it to Hololens 2. My skils are shalow, I am not able to fix it... but maybe someone else is 🙂
Aug 17 2021 10:39 PM
Aug 18 2021 01:17 AM - edited Aug 18 2021 01:19 AM
I am sorry, my misunderstanding. I was under the impression the person had updated it.... but as I knew it wasn't working I never tried to be honest. I was serching for a simpler solution. As I told you, I don't need it to be just in time, for me a post processing, that I can do in another tool, would be OK for me.
What I am doing now is to try to get images during the scan, and try to see if I manage to use the data from the camera to world and projection matrix to have the information I need to project the parts of the collected images over the mesh. But as I never did work with this before, and I am doing this in my "free time" it is taking a while 🙂
Aug 19 2021 09:48 PM
Oct 15 2021 04:47 PM
Nov 26 2021 10:32 AM
@daniel_camara Have you made any progress in this area? I have been trying to get this working for a while now and have not been able to succeed.
Feb 04 2022 05:59 AM - edited Feb 04 2022 06:00 AM
@astaikos Hi I am sorry for the delay in answering!
I got involved with other projects, and I kind of needed to put this on hold! So, nop, I didn't advance... not because it is not possible, too hard, or something like that, just that it kind of decreaed in priority. I will return to it, I don't really know when, for sure not in the next month... but I will and if I manage to do it, I sware to post the code here 🙂