• Welcome to World Machine Community. Please login or sign up.
September 19, 2019, 07:49:48 am


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

Rotate a heightfield from a "File Input"

Started by Onkelpoe, February 14, 2017, 04:48:18 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


hi there,

I got some single formations and mountains created and saved as .tiff heightfields. Now I want to import them into my TMD (via file input device), but also need
some control over their rotation. basically, I need something to rotate them freely clockwise/counter-clockwise in WM... Is there a way?

best regards



I haven't found a way, but I admit I've looked for only 5-10 mins. I haven't ever found a use for it. There should be a way to do it with dev build's localspace.


Hey WFab,

from what I saw, Geoglyph 2 does have a "Rotator" Macro - so it must be possible somehow.

The use  (in my case) will be to bring in some mountains into an already existing "chain of mountains" that goes rouund an area.
So I need to somehow fine-tune the rotating / align things to make them fit.


The new Dev version has better distortion that also works for rotation


Geoglyph 2 does have a rotator device, but it too works only in local space for now. The areas outside are either created as a constant or mirroring. You could easily do it outside wm, in an image editing program that supports floating point outputs.


hmmm, maybe you´re right - I could do some rotation outside of WM - but I need to do it inside of WM, to really fine-tune position and rotations.
I do not know the exact angle to rotate, when outside of WM.

I got a really large main area, surrounded by mountains (all around)
The mountians are placed ok, but in some areas, there are gaps where you would fall off the map ;)

So I need that gaps to be closed. Instead of relying on rnd mountains to hopefully show up in the areas and cascade a lot choosers or combiners, I want to precisly place some hero mountains heightfields just right into the gaps so areas are 100% blocked.


Kia ora

Is that why GeoGlyphs rotator moves in more of circle rather than rotate on it's self, seems the point it rotates off is NOT the center of the item your rotating


I'm not familiar with the device, but does it have device coordinates? Try adjusting those to the center of the terrain.
Or if it doesn't have device coordinates and the device forgot them you could shift your terrain to the center, it's tedious, but may work



I went on and install Geoglyph 2, will check rotator device - I really hope it can rotate things into place...


The output will still be in localspace though, and it won't work with the release build. Too much hassle just to rotate a heightfield. WM still does not have predictive algorithms for generating terrains, it's still all data centric. So, rotating a terrain in arbitrary manner would not go well with current infinite world building apparatus. Though a rotation slider in file input itself would be easier to implement, where it rotates the heightmap BEFORE importing it into world machine. That you can add to feature request for sure.


heheh, yes that would be a neat feature! But I got no hope, we ever see this.. at least not in an acceptable timeframe


Hi, found out how to do it.

In parameters, there is a device called Transform. Use that one to rotate file input by connecting it to to small grey parameter input on the File Input device

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.

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