Random Chitchat 2012-2016
(04-25-2013, 06:31 AM)xoft Wrote: Actually it's terrible. But see for yourself - I've committed that thing as a DirectOverhangs structure generator in rev 1411

oh i see what you mean now Sad
Thanks given by:
I think I have something workable
[Image: overhangs2.jpg]
It even generated a tunnel from inside the mountain out into the ocean Smile
It's nothing like the vanilla, but it's showing some cool potential. With some work I think it can be used. But instead of overhangs, I think a more appropriate name would be "terrain fissures"

Committed in rev 1412; go play with it Smile
You can even set some params for the algorithm (but it's hardcoded, so you need to change the sources, cStructGenDistortedMembraneOverhangs::GenStructures(), StructGen.cpp line 644+.

So far it has not been optimized, so it's gonna be slow as hell; when we get something useful out of it, I'll optimize it properly.
Thanks given by:
More overhangs, I like these, but they are implemented separately as a completely standalone terrain generator, therefore they have no terrain composition, no sea, no structures, nothing, just stone and air.
[Image: overhangs3.jpg]
[Image: overhangs4.jpg]
[Image: overhangs5.jpg]
Get it with rev 1414, enable it by setting [Generator].Generator to Noise3D.
It is meant as a testbed for experiments with a generator based on 3D noise, not as a production-grade generator.
Thanks given by:
I love them Wink they are also extremely quick generated ;D
Thanks given by:
That's because they don't generate any other stuff - not even biomes. I think if I combined them into the regular ComposableGenerator, they'd be a quite a bit slower than Biomal.
Thanks given by:
ok :S but i gues you didn't optimize them yet? Smile (hoping, hoping)
Thanks given by:
Added water and shifted the terrain into normal heights:
[Image: overhangs6.jpg]
Available in rev 1416.

It's half-optimized already, we'll see. I'll keep it separate for a while to play with it, then when I'm comfortable with it, I'll move it into the Composable generator.

It should be possible, but it'll break one of the principles of Composable Gen - in order for this particular thing to work, you'll need to set both HeightGen and CompositionGen to the same predefined value (programmatically, it'll be the same class providing both the height and the composition).

Oh, btw, I also tried adding dirt but that didn't work out - the entire terrain, including overhang ceilings and vertical walls, was covered in dirt. And dirt without grass looked really ugly anyway, and there's no easy way to add just a single layer of grass. So I got rid of it again.
Thanks given by:
haha i love how you are able to stamp a new generator out of the ground ;P who gave jeb the prize of best programmer. it should be you ;D
Thanks given by:
I'm trying to put some control over the terrain height at which the overhangs generate, it's proving difficult. And it's spawned off a really alien-looking landscape:
[Image: overhangs_heightmap.jpg]
Just look at the top view:
[Image: overhangs_heightmap_overview.png]
Thanks given by:
i think this is more alien-looking
[Image: 177907495_1.png]
Thanks given by:




Users browsing this thread: 9 Guest(s)