Flatten Low Spots in Terrain...

Started by choronr, January 17, 2010, 05:50:09 PM

Previous topic - Next topic

choronr

If there isn't a way to 'Flatten Low Spots in a Terrain', a control to accomplish this would be helpful.

dandelO

#1
You could try Matt's descriptive clamp function, Bob. It's here... http://forums.planetside.co.uk/index.php?topic=7548.msg80786#msg80786

Instead of plugging the constant scalar into the 'Maximum', just plug it into the 'Minimum' input of the clamp scalar. (use the constant scalar's value to clamp to a certain level). Setting this to a surface layer and blending would give you a not-so-sharp edge to the clamp, aswell.

I don't know from your rough question if that's what you want but it will certainly cut off displacements from a certain 'Y' point, if that's what you're after...

choronr

Thanks dandelO for coming back to me on this one. I'll give Matt's info a try. Having 'flat spots' in the lowest areas makes placement of dirt (Ryan's dirt file and Frank's stones/rocks) a better chance of showing up properly. Additionally, achieving a one meter height off of the ground will get the kind of POV I've been looking for. I've tried several suggestions on other threads; but, as yet, haven't been able to achieve it. 

Hetzen

Matt's version has a hard cuttoff at the desired altitude. Here's a version that blends the cutoff at 0m, not quite to zero, but you could put in another conditional scaler which completely flatterns at say -10m. And I'm sure there's a better way to do this with some of the power functions, but this should be easy to get and use.

choronr

Quote from: Hetzen on January 17, 2010, 07:38:43 PM
Matt's version has a hard cuttoff at the desired altitude. Here's a version that blends the cutoff at 0m, not quite to zero, but you could put in another conditional scaler which completely flatterns at say -10m. And I'm sure there's a better way to do this with some of the power functions, but this should be easy to get and use.
Thank you Hetzen,

I'll get to work o this and see if I can achieve my goal ...appreciate your input.

choronr

Thanks again Hetzen; tried your suggestion (made a clip file from your file) and tried adding it to an existing terrain (not a fractal terrain) but it didn't work. I'll start from scratch with a fractal terrain.