Open HeadClot opened 6 years ago
Can be a nice feature. Also you can try ANT Landscape add-on from Blender or the displace modifier with a heightmap.
What sort of terrain system would we use? Heightmaps are tried and true but I have yet to see any real contender take up voxel-based terrain, so it might be worth investigating.
I have done a fair amount of reading and some implementation here. After some more foundational issues are addressed I could see myself creating a plugin. Note there are huge number of ways to go about this so this is definitely something that should lie outside the core engine.
As far as voxels go: heightmaps are vastly more efficient so only worth-while if you really need the kind of terrain topology voxels support. Eric Lengyel's C4 (and now Tombstone) engine has for years had marching cubes with LOD ("transvoxel"). There are more expensive but more appealing approaches such as dual-countering. Again, lots of options.
If you wish to do voxel-based terrain, a system such as Godot's GridMap class could be implemented.
GridMap is a mesh-based level design tool. Not related to voxels in any way.
Update about terrains: You can create a heightmap based terrain with actual version. With a plane mesh selected go to model settings and scale it and increase tesselation values (equivalent to subdivisions in Blender). Then go to material settings and in Displacement choose displacement map. Select a displacement or heightmap texture and move intensity parameter and others...
I think a multi terrain system would be a better approach. Games can have vastly different requirements based on design and having a multi purpose terrain system seems like a nice way to go at it. I hate Unity3D terrain system because it doesn’t slice up the terrain for baking purposes. Personally i would make a terrain system based on heightmaps that automatically chunks up the terrain for baking purposes, or atleast applies multiple lightmaps on one large terrain
Looks like PR https://github.com/xenko3d/xenko/pull/561 solves this issue :)
Going to close this as soon as it is merged :)
Not quite, you can't depict caves and such with height maps
Hello, Would it be possible to get a terrain system in Xenko?
This has been on the road map for a while and It would be great if we had this in the engine. This would be useful for large scale open world games as well. :)