You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your Godot version:
4.3 Issue description:
The following sentences seems to contradict each other:
"Generating complex geometry (several thousand vertices) with this tool is inefficient, even if it's done only once. Instead, it is designed to generate simple geometry that changes every frame."
[...]
"If you only generate a surface once, the ImmediateMesh is just as efficient as any other kind of mesh as the generated mesh is cached and reused."
There are different stages of "efficiency" that this blocks are referring to that should be explained more clearly.
A CREATED mesh by the ImmediateMesh is just a normal mesh so neither good or bad for performance, just default compared to any other mesh created with the same properties.
The CREATION of a very large mesh with the ImmediateMesh is memory bloat because an ImmediateMesh uses internal local vectors as they work faster for regular procedual mesh making. The reason they are faster is because they are not copy-on-write and also keep memory forever occupied so when you update the mesh again next frame the memory is already available to work on.
A "normal" static mesh throws its data directly at the GPU and frees the CPU memory so when changing this mesh type all the time it needs to allocate new memory all the time and all its data arrays are copy-on-write vectors which makes the mesh creation very slow in comparison.
Your Godot version:
4.3
Issue description:
The following sentences seems to contradict each other:
"Generating complex geometry (several thousand vertices) with this tool is inefficient, even if it's done only once. Instead, it is designed to generate simple geometry that changes every frame."
[...]
"If you only generate a surface once, the ImmediateMesh is just as efficient as any other kind of mesh as the generated mesh is cached and reused."
URL to the documentation page:
https://docs.godotengine.org/en/stable/tutorials/3d/procedural_geometry/immediatemesh.html
The text was updated successfully, but these errors were encountered: