Layout Generator

I’d like to make some suggestions for the layout generator

I wish there were some other methods for setting the height of a shape or vert. Let’s say I want to make a map layout for a game, I have Base-A, Base-B and a road network between them.

When I create a shape for Base-A, I’d love to be able to set the height of shapes automatically - maybe via means of some sort of average or sampling based on shape coverage. So basically, the layout generator node would have an input for heightfield (push the same height in, rather then blend the output later.) An alternative method to setting the altitude of the shape would be a coverage sample (random shotgun test), say a default of 16 random samples within the geometry boundary of the shape - average these samples and use this as the height for the shape. A higher sample setting would likely result in a more accurate ‘average’ height of that area.

An easier method of placing roads that roll along the natural terrain, you could do something similar. Currently, when you push and pull the height of a vert, it’s difficult to be precise in setting it to match the terrain; the tool is precise in allowing you to set a specific height, but there is no way to easily pick or sample the height of the terrain in that location. You just have to kind of ‘eyeball it’. Similar to above, if you know the location of the vert and you know the width of the road, then average a sample set around that location and use this to automatically set the height.

So on a far more advanced note, we could talk about bank and slope setting/limiters as well as influences to creating roads… but that seams pretty advanced and I wouldn’t want to wrap my head around it myself. :slight_smile:

Also, roads (lines) really need the ability to set a stroke width prior to the fall off happening. As far as I can tell, right now I have to compensate for my ‘flat top’ roads in the falloff width, then draw a custom profile which includes the flat width of the road. This isn’t the most user friendly approach, I think you’d want to be able to keep the width and falloff completely separate.

this brings about another feature request. When I draw a custom falloff profile, this can result in stair stepping showing up in the mask area… It would be nice to have a spline profile, to maintain that the profile is in fact smooth. Or alternatively add a smooth function via button in there, to smooth based on the points you have placed. Currently it can be difficult and time consuming to approximate a smooth curved profile by hand. With the 16bit resolution internally, it’s even unfortunate that you can’t have a perfect curve without one of the presets. But as mentioned above, the presets don’t allow you to have a stoke width prior to fall off.

I agree on that.

Layout generator definitively have to be worked on as it has got great potential of becoming very powerful tool.

It would be nice to see some support for roads.

It also absolutely have to be multi-threaded ! Sometime it take ages to generate and it is only using 1 CPU core !!


Your competitor have some roads creation tool:

http://www.geocontrol2.com/d_geocontrol_projected.htm

I like the idea of having a “surface following” mode that samples the underlying on creation. this is not to hard to do comparatively, as the sampling ability already exists in layout mode. I’ll see what I can do.