How to smooth out [i]parts[/i] of the heightfield?

Started by N-drju, February 17, 2014, 04:39:45 AM

Previous topic - Next topic

N-drju

Dear colleagues,

I'm planning to make a project that will feature some mountainous terrain and several ski slopes going down from the mountaintops. First, I think I'll use painted shader to cover those areas through which the ski courses are supposed to run. The remaining spaces in between should ideally be covered with some evergreen veggies and shrubs. Now here's the tricky part...

How can I make the painted shader areas perfectly smooth so that they look like well-maintained, groomed snow? I just want to get rid of all those bumpy, rock-like spots that you get the first time heightfield is generated. I want to keep sharp peaks and have several smooth stripes of snow. Just like in real life you know.

AFAIK operators can be applied only to entire heightfields, not parts of these. THIS is causing the problem. I'm waiting for your ideas. If the only solution includes functions, scalars or other weird things please lead me step by step what to do.  :( TG2!
"This year - a factory of semiconductors. Next year - a factory of whole conductors!"

Dune

You could start with a smooth terrain, and then add only extra displacements to 'unpainted' areas. That can be done either in the restricted heightfields or in procedural 'all-over' terrains.

N-drju

Hmm... I think I'll do just that. I'll get back to the issue yet.
"This year - a factory of semiconductors. Next year - a factory of whole conductors!"