Making heightmaps with World Machine

Making heightmaps with World Machine

Tutorials & Resources For Mappers

Moderator: Moderators

User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Making heightmaps with World Machine

Post by hunterw »

i like to start my maps off with an ancient art called "drawing"

Image


after manipulating in paint shop pro i have my template on which to paint heightmap layers

Image


i've used 5 inputs for Tundra, the map from which this faq is centered around. here's my worldmachine view, which you can follow along with:

Image


looks complicated, but its not. starting with 1, i input my base heightmap file. here it is:

Image


take notice that my river and mountains are not part of this heightmap. anyway, all i do is apply a mild gaussian blur (2), before combining. now i'll jump to input 2.

here's input 2:

Image

mountains. i immediately run four sequential gaussian blurs of high power, then use a very strong erosion filter. this erosion is so strong it would completely rape any meticulous heightmap detail.

notice that this heightmap is asymmetric - it only has half of the hills of the map. well, the next triangle you see there on the roadmap is a little trick of mine i use to create symmetry. i duplicate the heightmap with a splitter, apply an X + Y flip to one of the copies, then recombine using the ADD method. i do this a few times.

now we are back and ready to combine with 1, the base heightmap. the combiner used here is called MAX, and it takes the highest value for every pixel from either heightmap it is combining. on a usefulness scale of 1 to 100, thats pretty motherfuckin useful.


the next step is another combine, so we will jump to input 3. here it is:

Image

as i was testing the heightmap in-game, i noticed i could build LLT-sized structures on the tops of my mountains. i didn't want this, so i went back and created this heightmap, which is simply running down the spines of my mountains.

after a gaussian blur, mild erosion, and the flip X + Y trick, these little mountain caps are ready to prevent porc. i use the ADD combiner to add to the chain. on this ADD, i don't use full power, i scaled to ~30% so they were sharp enough to disallow building, but not too steep for kbots to climb.

NOW i finally run the big erosion on my map. this erosion was the first component i ever made in the chain. the settings are pretty mild to preserve my detail work, but it really smooths out all the different added components and makes them mesh.

now we are ready for the river, input 4.


here's input 4:

Image

rivers and lakes tend to fill up with worldmachine's various erosion parameters, so i like to separate them as well. here i've drawn the river inverted, as if it was a ridge. i blur it, give it mild erosion, then SUBTRACT it from my main heightmap.

the next step is a splitter, which is just to obtain a mask. masks are useful as fuck. i use "select height" on my split in order to select underwater and beach-level heights. now its an alpha layer which i use as an input to the mask layer of a powerful gaussian blur. this simulates underwater erosion.


input 5 is different from my other inputs, as it is used simply to be converted in to a mask. here it is:

Image

i run a gaussian blur on it, use the X + Y flip trick, then use select height, this time starting at height 255 with full fuzziness. now its a mask which i use for another powerful gaussian blur to smooth out ramps.

we are almost to the end!! the heightmap is basically done. this last flip trick i've done just for shits and giggles is different in one slight way from the rest - the recombination uses AVERAGE. this makes the heightmap perfectly symmetrical.


go make maps~!!!!!!!!!!!
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Making heightmaps with World Machine

Post by Hoi »

Nice hunter, good tutorial :)
BaNa
Posts: 1562
Joined: 09 Sep 2007, 21:05

Re: Making heightmaps with World Machine

Post by BaNa »

Thanks man, I've been checking out world machine recently and this is helpful. Worldmachine+WICED+springmapedit makes for teh awesome.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Making heightmaps with World Machine

Post by Beherith »

This is some really cool stuff man! Thanks for sharing.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Making heightmaps with World Machine

Post by smoth »

how do you export it without getting terracing? does the mapconv support one of the 16bit formats?
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: Making heightmaps with World Machine

Post by hunterw »

smoth wrote:how do you export it without getting terracing? does the mapconv support one of the 16bit formats?
i export to terragen .ter file, then using terragen export to 16 bit .raw intel byte order which mapconv accepts, and don't use -l 8)
User avatar
Doleo
Posts: 8
Joined: 11 Mar 2009, 08:00

Re: Making heightmaps with World Machine

Post by Doleo »

Nice tutorial, Ive been playing with World Machine and it seems like a good program. But you need to fork out money for an upgraded version to be able to export your heightmap to anything besides 513x513, right?
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: Making heightmaps with World Machine

Post by hunterw »

Doleo wrote:Nice tutorial, Ive been playing with World Machine and it seems like a good program. But you need to fork out money for an upgraded version to be able to export your heightmap to anything besides 513x513, right?
yeah and they really jacked up the price on it now that its worldmachine 2 :( but smoth has it and im sure will be happy to post screenys of all the new stuff it does
User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Re: Making heightmaps with World Machine

Post by Peet »

Doleo wrote:But you need to fork out money for an upgraded version to be able to export your heightmap to anything besides 513x513, right?
Yes, but from smoth's ranting about it, it appears to be worth the $180 for the full pro version.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Making heightmaps with World Machine

Post by smoth »

I think worldmachine 2 is one of the coolest heightfield editors I have ever seen. download the manual and read chapters 5-7... that shit is amazing.

Image

Image

Image

You are going to need some serious ram >=4 gigs for the textures but yeah.... you don't needs the ram for the height fields... also bear in mind I am doing a WHOLE LOT with the texures.
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Making heightmaps with World Machine

Post by SirArtturi »

very nice...
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Making heightmaps with World Machine

Post by Gota »

Peet wrote:
Doleo wrote:But you need to fork out money for an upgraded version to be able to export your heightmap to anything besides 513x513, right?
Yes, but from smoth's ranting about it, it appears to be worth the $180 for the full pro version.
right...
Maybe if someone is planning on doing some other work with it besides spring maps..
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Making heightmaps with World Machine

Post by Beherith »

World machine 2 is absolutely massive!
The layout editing mode is the most natural way of making maps I have ever seen. Also, the texturing option is quite powerful since it can bake the shading on to the texture. And you can use the flow and sediment maps to texture too.

Now im gonna start saving my monies for the pro version, cause the 513 limit in the demo makes me cry huge crocodile tears :cry:

This was made 100% in world machine in about an hour. (my first try at layouts)
Image

Kneel before the absolute world shaping power!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Making heightmaps with World Machine

Post by smoth »

I am going to be tossing up my worldmachine files for a few of the maps that I have already made as soon as I release them so you guys can use them to learn from.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: Making heightmaps with World Machine

Post by 1v0ry_k1ng »

world machine 1.25 is all over warezbb if do what you want cus a pirate is free, but no sign of 2 anywhere. 180 dollars..
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: Making heightmaps with World Machine

Post by TheFatController »

As someone who was happy to pay for lt3d I do think the pricing on that does seem excessive for anyone who isn't going to use it commercially or just wants to play around with it for an afternoon.

I wonder if it would be worth contacting them and seeing if they'll do a non commercial licence for it for less, probably not!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Making heightmaps with World Machine

Post by smoth »

they have a scaled cost model. The pro version is 180, most of you would be fine with the standard which is 89.

http://www.world-machine.com/chart.html
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Making heightmaps with World Machine

Post by Beherith »

Smoth, do you have standard or pro edition? Is the tiling feature worth it? At what size/complexity does it become necessary for generating, if one has 4gb of ram?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Making heightmaps with World Machine

Post by smoth »

4 gb will cover a 4096-6000~ texture/height field most of the time provided your pipeline is clean. Tiling is more for people doing something like a paging landscape or say a farcry map.

I have the pro for the 64 bit and dual threading, that part makes a big difference for me. Time is money and gundam needs me to be efficient.
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: Making heightmaps with World Machine

Post by hunterw »

Beherith wrote: Image
I like this layout, release it pls 8) but make the base platforms flatter
Post Reply

Return to “Map Tutorials & Resources”