Recent

Author Topic: Perlin Noise Map With BGRABitmap  (Read 541 times)

Dzandaa

  • Hero Member
  • *****
  • Posts: 520
  • From C# to Lazarus
Perlin Noise Map With BGRABitmap
« on: January 20, 2026, 06:17:50 pm »
Hi,

Here is a simple terrain generator based on Perlin Noise.

You can save High and Color Map.

B->
Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 1106
Re: Perlin Noise Map With BGRABitmap
« Reply #1 on: January 21, 2026, 01:31:57 am »
Nice program DZandaa. Love the colourful rendered result.

Just a tiny tweak, with FSEPersistence interval needing to be 0.01 and not 1
(probably just forgot to change it just like I do).

Is the elevation just saving Perlin map as grayscale?

Thanks for the upload Dazandaa.

Dzandaa

  • Hero Member
  • *****
  • Posts: 520
  • From C# to Lazarus
Re: Perlin Noise Map With BGRABitmap
« Reply #2 on: January 21, 2026, 11:49:22 am »
Hi,

Thank you Eddie,

I didn't notice the, because I never use the Up/Down arrows, just writing values :)

The elevation save a graymap from 0 to 255, It is not just the color map in Gray :)

I also try to create an Island in the middle of the map, but didn't succeed.

Now I'm looking to create a  3D representation.



B->
Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 1106
Re: Perlin Noise Map With BGRABitmap
« Reply #3 on: January 21, 2026, 01:36:13 pm »
For the 3D Version you would probably need OpenGL for the 3rd dimension exploration?
I would also love to see that Glynn fractal in the 3rd dimension.

With your 2D Perlin version I was going to try a touch of motion blur to soften the edges just very slightly.

Can't get over how noise can create islands."Ken Perlin" was a really smart guy, being a professor of computer science at New York University.

Take care friend.



circular

  • Hero Member
  • *****
  • Posts: 4467
    • Personal webpage
Re: Perlin Noise Map With BGRABitmap
« Reply #4 on: February 02, 2026, 07:47:58 am »
It is indeed wonderful to create landscapes with randomness.

Oh but wait there is a 3D version now  :)

https://forum.lazarus.freepascal.org/index.php/topic,73308.0.html
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018