Combining Meshes for export

Problems building or running the engine, queries about how to use features etc.
Post Reply
Xonauqa
Gnoblar
Posts: 5
Joined: Thu Apr 22, 2021 4:34 am

Combining Meshes for export

Post by Xonauqa »

I have an end goal of saving combined meshes as one mesh file for future imports.

The export function of MeshSerializer>exportMesh has been working great, which led me to hope to achieve the same success with a combined mesh.

Have tried various avenues with no success. But maybe I'm missing something.

Is there a way maybe to add a mesh as a submesh to another mesh? or is there a recommended way to achieve this?

Any help would be appreciated.
Xonauqa
Gnoblar
Posts: 5
Joined: Thu Apr 22, 2021 4:34 am

Re: Combining Meshes for export

Post by Xonauqa »

Have found this wiki so apologies for not finding it first.

https://wiki.ogre3d.org/tiki-index.php? ... sh+merging

A problem has occurred though with HardwareBufferManagerBase from the

Code: Select all

out->vertexData = in->vertexData->clone();
Should this be initialized somewhere somehow?
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: Combining Meshes for export

Post by sercero »

Hello,

Have you tried MeshMagick?

https://wiki.ogre3d.org/MeshMagick

It has an option to merge meshes.
Post Reply