Yeah there are various settings like maximum slope angle that can be adjusted, but I'm still trying to figure a lot of stuff out XD
What you are looking at is my little test island, which is in the very bottom left corner of the map. That massive cliff you see in the background is the outside of the Singularity Caul!
The project has stalled a bit, I keep running into engine limitations with UE4, it's just not got enough features for working with massive tiled landscapes. I dont suppose you are a programmer?
Count me in too. Programmer here also (limited UE4 experience so far though) and I think bringing Dereth to life in UE4 would be a blast to work on. I've also got some experience with Houdini and the Houdini UE4 plugin which could be of use. Perhaps the issues you describe below can be worked around by using Houdini to manage the landscape and materialing and import it as static meshes.
I have zero experience with Houdini, so I'm not really sure what capabilities it offers. UE4 doesnt have any kind of system for importing tiled terrains as static meshes, but even if it did the same issues would still have to be overcome.
Houdini is a node-based 3d graphics program. Kind of like UE4 blueprints but much, much more powerful and flexible. It's designed from the ground up for procedural work which makes it especially well suited to handling large terrains. Here's a basic example of the results you can get: https://www.youtube.com/watch?v=gB51NMlt6s4
Hey, what did you use for the original heightmap file? Did you use the mapac/graphac programs or an existing image file? The only existing heightmaps I could find were in jpeg format which has artifacts. I've been trying to use the map/graph ac programs but the code is so old it looks like the client.dat format has changed and it no longer works.
I've found some information about how the format has changed so I might be able to get it working. But if you already have a lossless heightmap file there's no need.
Ah right, I havent heard of it being used for landscape work, but there are so many different paths these days its hard to keep up. Again the problem is really a few key limitations in the Unreal engine/editor when importing and working with large terrain tile sets.
Yeah all the tools are woefully outdated, but all the source code is available and fortunately one guy still keeps extracting the map data. All the bitmaps I've been working from are available here.
Yeah its a little treasure trove of AC data. I have spent some time looking at them and thinking about it but I'm still pretty vague on how exactly those map layers translate into the distribution of terrain objects, but yeah if we could figure it out that would be a huge win.
Found these notes in a readme file on that site. Apparently there is info in the portal.dat that describes the object sets that belong to particular regions. I wish we could get a hold of the guy who wrote this program!! Apparently his game name was Widgeon of Leafcull:
"Examples: These assume the the data files (client_portal.dat, client_cell_1.dat, etc) are in the current directory. To generate the map, you should only need the client_cell_1.dat, although the program currently grabs some data about land types from the portal file to support an (unavailable) feature for generating maps of terrain object regions."
...and more info about texture sets...
Land Types
Land types taken from the world info in file 0x13000000
That's my site, I'm Widgeon. Here's how the automatic terrain object placement works.
Each landblock has a 9x9 grid of 16 bit values. Bits 0-1 are used for roads. Bits 2-6 are the terrain type. Bits 11-15 are an index for the automatically placed terrain objects. There's another 9x9 grid of bytes for terrain height indexes.
File 0x13000000 has a bunch of information in it. Land heights, calendar info, weather records, landscape ambient sound tables, automatic terrain object tables, land type tables, and land texture information.
So, the index from bits 11-15 (5 bits) of the landblock is used to look up a value from the 32 automatic terrain object indexes. This index is used to look up an entry from the automatic terrain object table.
The first entry (7) is an index into the landscape ambient sound table. The rest are references to type 12 files, which have references to models and position/orientation/scaling data. The exact meaning should be easy to figure out once you can render terrain and compare it to what you see in game.
When they change seasons in game, some of the type 12 references from the automatic terrain object table change, switching between models of trees with and without leaves.
I need to package up my current data tools for you, since the old ones on my site don't work to extract 13000000 from the latest data files.
I am going to school for it, but I'm not sure I have the knowledge base to help you on that front. UE4 was built to use yiled landscapes similar to how Dereth was constructed. They are called levels in UE4 and levels within a world can be seamlessly streamed together. The Kite demo shows off a 100 mi2 landmass using this system.
In regard to features in UE4 for manipulating these landscapes, what specific issues are you running in to?
The reason I am interested in your project is because I was about to start the same project. The methods I found use heightmap data.
I can imagine trying to manipulate the seams can be tricky...
Yeah I have done a fair bit of research into UE4's level streaming and tiled landscapes. The Kite demo was obviously something I have been looking at, but it only uses a few landscape objects and a single biome made from like 3 materials, and maybe 2 or 3 manually placed patches of trees.
The main problems are:
Because you can only select a single material for tiled landscape import, it has to be big and complex because it has to contain every biome texture for every one of the hundreds of landscape tiles, which greatly increases the impact of the next problem.
The hard limit on the number of texture samples in single landscape cel, which can be mostly worked around by lots of annoying manual texture indexing, which Epic say not to do, but dont offer any solution.
The vegetation generator is really basic; you manually place a 3d box to define where a type of vegetation grows, and then it scatters the plant meshes over everything inside the volume, even any buildings or anything.
Ignoring the texture sample limit issue for now, the vegetation generator needs one key change: a way to specify a landscape material layer as a mask, so it only generates the appropriate vegetation for the different biomes. It already does this for the separate landscape grass system, so there would at least be some relevant source code to reference. I suppose it would also need to create the appropriate vegetation volumes for each tile.
Edit: I've also been thinking about a system for automatically creating the various water surfaces/volumes, but again this isnt something it supports currently.
2
u/goata_vigoda Sep 16 '15
Looks good! That one tree is a little askew, trees tend to grow upward regardless of a hill.
Is this Marae Lassel? That Stormtrooper is gonna get hurt out there.
2
u/SirAgravaine Nov 30 '15
I would love to assist you with this project, if you are still working on it.