• Welcome to World Machine Community. Please login or sign up.
 
April 19, 2019, 09:40:07 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Erosion and flow map differences

Started by Stephen, December 04, 2012, 05:10:55 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stephen

I recently received a great question via email regarding erosion mask outputs. It asks, approximately:

QuoteWhy do the flowmaps in my terrain preview not match between my preview and my final build?


I will copy'paste my answer here along with an example:


The specific problem you're having can be mostly corrected: Add an "Equalizer" device to the flow map output of the erosion device. From there, you can use a bias/gain to adjust what level of flow makes it through. Your preview and full resolution builds should now have MUCH more in common with each other.


In depth explanation:

    The reason why you need to do this is that the erosion mask output intensity scales (nonlinearly) with increasing resolution -- so areas that receive "a little" flow at low resolution may receive "moderate" flow at a higher resolution. The Equalizer device remaps the flowmap so that the percentages at each flow intensity will always be about the same.

Finally, there are two things to be aware of:

1) There will still be some path changes due to randomness in the erosion algorithm. However, the dramatic intensity differences should be gone.

2) Devices like the Equalizer sometimes present difficulties with tiled terrains. (Devices that can be odd are marked with a (!) in the device workview). This is because the Equalizer is only considering the current tile instead of all tiles when it calculates the equalization factors. This is not usually a problem as you can increase tile blending size, etc to counter, but it is something to be aware of.


Ultimately of course, it would be nice to have the flowmaps be stabilized across resolution, but this is actually surprisingly hard to do in a way that is immune to context issues similar to the equalizer approach.
-- Stephen Schmitt
- Creator of World Machine

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview