• Welcome to World Machine Community. Please login or sign up.
September 22, 2019, 11:54:39 am


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

How to increase no# of Terraces within a range

Started by chad, November 15, 2011, 04:53:06 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



I'm trying to create terraces in a defined area within my terrain using a Layout Generator and Slope + Height restrictions.. but it seems the at the 128 number of Terraces are still relative the the whole terrain as I'm only getting a small number in my defined region.

Any ideas on how to increase this number? or constrain that 128 limit to my defined region?





Hi Chad,

The number of terraces is specified over the entire terrain range.. there's several things you can do:

1) Increase the layering parameter to maximum. This introduces many more smaller terraces, which may be enough for the effect you're trying for.

2) You can Expand your selected region with a Clamp device set to Expand mode (this will increase the dynamic range to the full range), perform the terrace, and then reduce it with another Clamp device set to Clamp mode. This is a very flexible option but a little more work than #1.

Hope that helps!
-- Stephen Schmitt
- Creator of World Machine


Sorry Stephen, I'm not hooking this up right. If you get time could you point me in the right direction:


Try attached, it's something similar I was doing.


Yep, that is very much what I am referring to lwiseman.

Essentially, you can take the vertical regime of interest, expand it to be the entire vertical range. terrace that, reduce it back to the original range (by using Clamp instead of Expand mode), then finally combine it with the unaffected areas.

Come to think of it, this is definitely a good place for a macro...
-- Stephen Schmitt
- Creator of World Machine


Challenge accepted:

I actually did it two ways because I couldn't seem to get a macro setup that I was happy with, but there's probably a better way.

The main issues I kept bumping into seemed mostly related to texturing. For example, the textures are made from a colorized heightmap that is unique from the other heightmaps. This clutered device ports so I considered making the Map Close device only take the full range heightmap, base heightmap, and offset. Then I would use one Map Close to generate the final heightmap and one Map Close to generate the texture, but it just felt sloppy.

In the end it looks like my implementations ended up as a tradeoff between parameters and inputs/outputs. What I'd really like is the ability to make recursive devices, but I imagine that might be hard to implement. Maybe some kind of device repeater would be possible?

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