ExampleOfiOSLiDAR icon indicating copy to clipboard operation
ExampleOfiOSLiDAR copied to clipboard

Combine the export feature with scan feature

Open mikegunning opened this issue 4 years ago • 4 comments

Thanks for the examples.

Is it possible to combine the 2 feature to export the MDLMesh with the captured image from the camera to have a .obj model?

mikegunning avatar Feb 16 '21 12:02 mikegunning

@mikegunning In theory it is possible. However, on iOS14, when I try to convert SCNGeometry to MDLMesh and export it to .obj, it seems to crash. This topic was also mentioned on Stack Overflow.

TokyoYoshida avatar Feb 16 '21 21:02 TokyoYoshida

Yes I noticed this too playing with your code. MDLMesh also removes the texture regardless.

In the end I settled with writing the scene with this.

Unfortunately the only format that allows both mesh AND texture is .scn which is pretty unusable outside the Apple eco system.

mikegunning avatar Feb 16 '21 23:02 mikegunning

@mikegunning Good evening, any chance you could share the project or your code adjustments that allow the .scn export? Thanks in advance, Aleksandra

SashaBes avatar Nov 09 '21 15:11 SashaBes

hi, is there any news about this topic?

farhodyusupov avatar Feb 13 '24 07:02 farhodyusupov