Beating this dead randomly generated horse good and hard and long

Posted by Fabio on Aug. 30, 2012, 10:30 p.m.

I've been working with Perlin noise. What 'yall think?

Comments

Charlie Carlo 12 years, 3 months ago

Time? Like offsets, as in you walk into a different 'time zone' and time suddenly jumps forward 400 years? Or like the passage of time, where you walk into a different area and time suddenly goes slower, as if you're moving slower through space?

panzercretin 12 years, 3 months ago

I think he literally means, as time goes on, the 2d terrain changes by going downwards on a 3d structure. Kind of like that thing the scientists did with that one criminal that they made a cross-section out of.

Edit: This.

You know what's really bizarre, is listening to really mellow post-rock to this.

Charlie Carlo 12 years, 3 months ago

Oh I thought he meant make a 3d map, and make it 2d but use the third dimension for time.

It probably doesn't help that I don't know what Perlin noise is.

firestormx 12 years, 3 months ago

It's the sound they make in Germany.

marbs 12 years, 3 months ago

Panzermancer has got what I mean.

As another example, you can use 4D Perlin noise to make 3D clouds, with the 4th dimension being time. The clouds will then gradually change form, just as they do in real life. This is, however, quite an intensive process, and I can only see it being feasible in a real time game if you make the time dimension loop, and pre-calculate all the Perlin noise. But then that's pretty much the same as animating a cloud manually.

panzercretin 12 years, 3 months ago

Or make 5D Perlin Noise which creates 4D analogues of clouds to make 3D clouds, with the 5th dimension being time, and the 4th dimension being a literal spatial dimension you scroll through with the mouse wheel, or something to that effect.

Or 6D Perlin Noise which creates 5D analogues of 4D analogues of clouds to make 4D analogues of clouds to make 3D clouds, with the 6th dimension being time, and the 5th and 4th dimensions being literal spatial dimensions you scroll through with the arrow keys, or something to that effect.

Holy shit.

A 5D adventure game.

SO MUCH GOING ON.

Then you can design creatures to be extradimensional, where you only see a 3D cross-section model at any given 4D coordinate, which changes accordingly when you scroll through the 4th dimension. Or, alternatively, 5D beasts of which you only see different 4D sets of models, which also change as you scroll through the 5th dimension.

Guys. Guys. Imagine designing a 5D enemy.

THE RABBIT HOLE NEEDS TO BE 5D

As for making the Perlin Noise cyclical, just multiply all the values (or what have you, I don't know the actual logistics of Perlin Noise) by sin(time/1000) where time increases by 1 every frame. BAM. Instant cycle.

marbs 12 years, 3 months ago

While using sine would work, I think it might not look good in practice, because it loops back predictably across the same values. Though I have not tested this theory.

Thankfully, other people much cleverer than me in this subject area have already solved this problem of making seamless Perlin noise.

My experience with Perlin noise has been to create a 3D cube world generator, similar to minecraft. It's pretty fun stuff to play around with.