I have a heightmap of 2048x2048 This one map covers though an area in Unity of 65,536 m x 65,536 m for terrain size. (which will be a 32x32 individual heightmaps).
How to WM world size coorelate to a hieghtmap? Can I import this map and then scale the size of the terrain? I cant seem to find how to set a terrain area size for this though.
If you are confused sorry. I am trying to explain best I can as WM kind of confuses me how it’s map size actually coorelates to heightmaps and how a person can set the size of a heightmap for export.
Hi there,
This is a common conceptual problem that crops up fairly often.
The primary thing to realize is that World Machine does not have a fixed “meters to pixels” ratio! You can arbitrarily set your world size or resolution to anything you want. In the project settings box, on the left side you’ll see where you can enter your world area in kilometers. On the right side, a slider for resolution. Below the slider is the detail scale report – this tells you how many meters map to a single pixel. There is no “golden” value for this – it’s just a question of how much detail you want.
To import your heightmap, I’d do the following:
- Set your World Extents in the project settings dialog to 65km in each direction.
- Create your File Input device and load in your heightmap. Click the “place from current” button to expand the file input placement to fit the worldspace (65k x 65k) you defined earlier.
- How big do you want to create your output at? If 2048x2048, set that in the resolution slider in the project settings. But you can set any other resolution you want – slide it to 8192, 512, whatever. You’re certainly not constrained by the size of the input heightfield; it will be automatically scaled.
Ah roger…
That makes sense now. Thank you