ydrive / EasySynth

Unreal Engine plugin for easy creation of synthetic image datasets
MIT License
164 stars 31 forks source link

Export mesh aligned with camera pose #76

Open santelelle opened 3 weeks ago

santelelle commented 3 weeks ago

Hi,

I tried to export a scene mesh but I found it not aligned with the camera poses. Do anyone know if there a way to export the mesh keeping the mesh origin consistent with the camera poses?

NikolaJov96 commented 2 weeks ago

Hi @santelelle,

I'm not sure if I understand what you would like to do.

It sounds like you want the vertices of the exported mesh to have the same locations as they do in the level in the location where they are placed. To achieve this, you would need to transform each vertex's coordinates using the actor translation, rotation, and scaling properties from the level editor. I don't know if UE supports this or it would need to be done manually.

Hope this helps, Nikola

santelelle commented 1 week ago

Hi @NikolaJov96

Yes, that is exactly what I meant. I tried to do that manually but I never managed to export it correctly. I was hoping there was a way to manage that through the plugin.