0 votes

Is it possible to merge imported meshes?

in Engine by (85 points)

Merge how? And when? Why not do it in a 3D editing program?

Because mesh will be created from multiple hexes, and hexes count is set by player. I want to do for optimization.

You can have multiple MeshInstances though. Are there that many of them to instance? (like, more than 50?)
You want to merge them at run time, right?

Yes, much more then 50. And I want to merge them at run time.

I don't think a built-in API for this is available. You can do it manually but it will be very slow in GDScript. I made a feature request: https://github.com/godotengine/godot/issues/7844

Reduz replied to the request above, you could use MultiMesh so hardware instancing can be used and cost way less performance.
However, in Godot 2.1 hardware instancing is not available, but will be in 3.0, as well as faster draw calls.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.