![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | WatcherMagic |
Hello! I’m new to Godot, and have been looking it over in relation to a project I have in mind. It’s a game with significant variations in the types of terrain, particularly geometry that height maps can’t provide immediately: caves, overhanging cliffs, etc.
I’d originally planned to create custom terrain models in blender with medium resolution, and to manually sculpt details from there. Then I saw Zylann’s terrain plugin, and it looks fantastic! How would it compare in performance with a standard (rather large) mesh? Assume these meshes will have ~300,000 vertices or less.
I want to have multiple pieces of terrain so I can load/unload based on visibility (i.e, if you’re underground surface terrain models you can’t see will be unloaded, or in mountains when you can’t see far off,) to save performance. I want to know if having multiple terrain files held in memory will make a difference as opposed to just holding plain meshes.
Hey everyone!
When it comes to the difference between Zylann’s terrain plugin and custom-created meshes in Godot, there are a few key factors to consider.
Zylann’s terrain plugin is a great tool for creating diverse terrains with features like caves and overhanging cliffs. It provides a convenient way to generate terrain procedurally, saving you time compared to manually creating custom terrain models in Blender. The plugin offers various optimizations and LOD (Level of Detail) techniques to ensure good performance, even with large terrains.
In terms of performance, using Zylann’s terrain plugin can be more efficient compared to a standard mesh, especially when dealing with terrains of significant size. The plugin utilizes techniques like level of detail culling and terrain chunking, which allow you to load/unload specific portions of the terrain based on visibility. This can significantly improve overall performance by decreasing the number of vertices that want to be rendered at any given time.
However, it’s essential to note that the overall performance impact relies upon on various elements such as the complexity of the terrain, the hardware specifications of your goal platform, and how you handle the loading/unloading of terrain chunks.
So, if you’re aiming for efficient terrain rendering with features like LOD and dynamic loading/unloading, Zylann’s terrain plugin is definitely worth checking out. It can provide a more optimized solution compared to manually creating and managing custom meshes for your terrains.
angelacow | 2023-05-15 11:48