Jump to content

GROME Terrains (wip)


Flexman
 Share

Recommended Posts

I've been using something called GROME (GROund Modeling Environment) for a while now, it's a tool for creating realistic landscapes through a mix of procedurally generated techniques and hand editing. Imagine a system blending 3D MAX modifiers for geometry with Photoshop layering for textures and effects. You can export the result as geometry and textures for a variety of engines.

 

I was talking about the problems of rendering large scale terrains recently and the topic of using "tiles" came up again. This is what I've been using GROME for (on a non Leadwerks project). It works on huge terrain sets, paging in as required and splits them up into separate zones. Each zone can have different resolutions and materials as needed. If you're working on large worlds this is pretty much the business for doing it. Each zone is exported as a discrete mesh. Not only that, you can create multiple LODs for each tile. Simplify individual meshes as required or export the native height-map for that one area.

 

 

post-52-0-80414700-1337271112_thumb.jpg

 

While working on art pipelines I wanted to include a Leadwerks one but I'm reasonably pleased with results. Here's a screen-shot showing a single Leadwerks mesh, it has multiple LODs and only a base texture has been applied. Specular and normal is available but not created for this test.

Ambient occlusion and light mapping was baked in. A material shader for blending detail textures would be a great addition and should be a simple task.

 

Original "Canyon" scene...

post-52-0-09719600-1337271210_thumb.jpg

 

Little fog and lighting adjustment...

post-52-0-95372600-1337278768_thumb.jpg

 

Currently the closest output format GROME supports is Collada DAE but the Leadwerks conversion tool dae2fbx doesn't like the input. Need to work on that before I can automate terrain export for Leadwerks. Not a priority since I'm still working on Unity3D scripts for GROME.

 

 

post-52-0-75810600-1337280527_thumb.jpg

Large sections of detailed height-maps can be turned into multiple LOD irregular triangle meshes. Easily moved, positioned, swapped in and out for use in a treadmill terrain system.

 

Once the system has been fully scripted for automated export of an entire terrain there are many other small problems to resolve. The native Leadwerks vegetation would need to be handle paging in data for different zones. Lakes and rivers which work like the Leadwerks water plane except it has a plane for each terrain "tile" and has a mask so it doesn't flood an entire height level. Roads are spline based objects, only the level is baked into an exported terrain mesh. A road object mesh for each zone would need to be constructed, possibly with at least 2 lods.

  • Upvote 1

6600 2.4G / GTX 460 280.26 / 4GB Windows 7

Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT

Tricubic Studios Ltd. ~ Combat Helo

Link to comment
Share on other sites

Here's a rather extreme example.

 

A desert scene I generated using the "Desert" procedural modifier on a dense flat grid. The quality of the the dune ridges is filly dependent on the resolution of the base terrain grid.

 

Once you're happy with construction after adding lighting and shadow maps you can create the mesh layer with little loss of visual quality. You can see the difference in wireframe...

post-52-0-34176200-1337349611_thumb.jpg

 

And here's the same scene lit normally...

post-52-0-68997700-1337349569_thumb.jpg

 

If I want to keep a really high resolution mesh in the middle because my action scene requires an oasis then I simply retain the high-res terrain tile or generate a higher resolution mesh for that centre tile. You can mix and match resolutions to your hearts desire, one caveat, watch out for gaps between different resolution tiles. Any gaps require you hand edit individual vertices to fix it.

 

Normally these mesh layers are used on plaftorms that don't support heightmaps (e.g. iPhone Unity pre 3.5) but have application for scene construction elsewhere. Both formats are exported, you can still use the regular heightmap and the lower detail mesh (however many LODs you choose to make).

6600 2.4G / GTX 460 280.26 / 4GB Windows 7

Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT

Tricubic Studios Ltd. ~ Combat Helo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...