Harrison1/unrealcpp

How to create StaticMesh in console application?

oschakravarthi opened this issue · 2 comments

Hi, thanks for this code.
I am trying to develop a console application which generates few meshes and save them as .uasset files and pack them as .Pak files.

I am trying to modify the BlankApplication (which comes as part of UE4 guthub source) to achieve the functionality. I could not understand what modules to include (the build targets stuff etc.)

Can you please give some clues?

Thanks in advance.

hey @oschakravarthi , thanks for reaching out, my fault for the super late reply.

I'm not sure how to tackle issue, this seems a like difficult task to accomplish. However, If I think of anything or if I come across any code that might help I'll definitely let you know. So unfortunately at the moment I am unsure how to go about solving this problem.

Best of luck.

I know it's late to comment, if somebody is still looking for issue, following insight might help.

For generating meshes, see ProceduralMeshComponent . I think you need to supply geometric information like, vertices, triangles, normals, tangents for automated task.

I don't know how to save generated mesh as .uasset, but it's possible with engine's editor module.