Categories
World Machine Development News

The Mimic Device

Time for a sneak peek at another new WM 2.9 device: The Mimic Device.

This has been in R&D stasis for at least the last six months; I finally got a chance to finish it up this week, and I am confident in its polish level enough to slate it for inclusion in this upcoming dev channel release.

What is the Mimic Device?

The Mimic device allows you to reshape a terrain to mimic the elevation profile curve of a model reference terrain.

What does that mean? A few images might make it more clear. Let’s say we have a basic perlin noise terrain:

Basic Perlin terrain
Basic Perlin terrain

And we have another terrain as a model. (Edit: I’ve updated this example to be more obvious!)

Highly modified Perlin Noise that we want to match
Highly modified Perlin Noise that we want to match

Quite different from basic Perlin Noise! Nonetheless, the mimic device transforms the input terrain shown in the first image using the above as a reference… into this:

Mimic Output
Mimic Output

You can see that it follows the same general shape as the original input, but it matches the elevation range, and more importantly, matches the elevation profile of the model input! Note that the Mimic device cannot introduce detail that wasn’t there to start with –But it does make what is there look the same.

Here’s another example. Let’s say our model terrain was terraced (in this case, by adding a Terrace device to a Voronoi:

mimic6

The terraced voronoi looks like this:

mimic4

 

While the input terrain looks like this:

mimic1

And sure enough, the terraces are replicated on the mimic!

mimic5

Hopefully you can start to see how how powerful this ability could be…

The immediate use cases that I developed the device for include:

  • Matching disparate terrain types together so that they  “fit” and transition to each other better.
  • Shaping terrain by exemplar (For example, provide a reference terrain from a DEM that has the kind of elevation profile character you want).
  • Making changes and modifications to an existing terrain that have to fit its characteristic shape.

An interesting side effect of the Mimic is that it can actually be used to “erase” changes made to a source terrain, as long as those changes don’t reverse the profile curve of the terrain. For example: In the above example world, if we moved the terrace device from the Voronoi chain to the Perlin Noise chain,  we could take that resulting terraced perlin noise input and actually remove the terraces from it by using the smooth-sided terrain as a mimic reference!

Removing Terraces Example
Removing Terraces Example
mimic7
The input terrain to the Mimic
mimic8
The output of the mimic: We’ve erased the terraces!

This surprising power works because the Terrace device doesn’t create completely flat ledges, and so can be reversed. If that was not the case (for example, if you were trying to reverse the terraces from an 8bit input file) then the Mimic would not be effective as-is — you would have to blur the input terrain first.

Of course, nothing is perfect. What can’t the Mimic do?

  • The mimic device cannot replace or insert surface detail. For example, providing an eroded model reference will not introduce erosion gullies to the target terrain.
  • The mimic device doesn’t play especially well with Tiled Builds. It will be flagged as such in the UI (with a !). With high blending percentages it should be acceptable however.

Balanced against those relatively few caveats, however, is a lot of utility.

Excited?

I am.

By Stephen

Founder of World Machine

3 replies on “The Mimic Device”

Interesting and intriguing the same time. It really makes me curious to see how it can be used and how the results can be manipulated. Does it has any parameters, like power/percentage of mimicking the source?

There are a few parameters:

1) Strength (this one is mostly uninteresting as its just a linear blend between the result and the unprocessed input)

2) Detail Fidelity — low values mean that only gross features are matched (overall elevation range, etc); high fidelity means even fine features (terraces, etc) are matched.

3) Extended matching — This does some magic to further enhance the matching to the feel within a local area of the model.

Definitely, a very interesting device. I checked your devices screenshot and I was happy to see that it has an alpha input. I think it`ll be a really useful device and maybe used as much as the erosion devices.
One last question.
Remnant, you showed us in your blog all these future goodies.When are we going to taste them? 🙂

Comments are closed.