Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (731)
Games in Android Showcase (217)
games submitted by our members
Games in WIP (799)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Perlin landscape applet  (Read 6061 times)
0 Members and 1 Guest are viewing this topic.
Offline SimonH
« Posted 2011-04-27 00:48:35 »

There seems to be a lot of interest in procedural landscapes just now (can't imagine why), so I've done a simple applet to show the basics of 2D perlin noise and supply some source code.
Share and enjoy!

People make games and games make people
Online Roquen
« Reply #1 - Posted 2011-04-27 12:24:26 »

value noise.  Smiley  (Just to be even handed)
Offline SimonH
« Reply #2 - Posted 2011-04-27 14:48:06 »

For those lovely desserty effects I've done a ridged multifractal one as well. (Go on, someone tell me it isn't really!  Tongue)

People make games and games make people
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline namrog84

JGO Ninja

Medals: 46
Projects: 4

Keep programming!

« Reply #3 - Posted 2011-04-27 18:14:27 »

There seems to be a lot of interest in procedural landscapes just now (can't imagine why), so I've done a simple applet to show the basics of 2D perlin noise and supply some source code.
Share and enjoy!
Great examples/code!

Although I personally have always had a great interest in fractals and procedurally generated content(landscapes and more!)

I would take a wild shot and say that Minecraft could be a big inspiration for procedural landscapes.  The ability to generate beautifully rich maps without having to handcraft every element is very enticing. Especially since most programmers are not necessarily artists or level designers.

Also, I give credit that computers are having a lot more power potential nowadays. Even the big developers struggle to fill quality content.  For the most part, as a small developer, your IMHO Not going to be maxing out on potential power usage. And the possibilities of generating maps (infinite maps) is very enticing to "add" a lot more 'content' to your game.

Though I think a lot of people may have great early interest in it. They underestimate the requirements to properly populate these worlds with content worth exploring.  Even Mojang doesn't have an insane growth in that area(They continue to add biodomes/biomes(sp?) and other content, but at a slow/steady pace).

Sure we can make infinite worlds with various terrains.  But I still see a little too much repetition in that terrain. And terrain alone is relatively useless after you get over the initiate "that's neat" factor.   

Another great example is Spore,  it has a lot of procedurally generated terrains and creatures.  Even despite having a wide variety of "monsters/creatures/animals"  and although I didn't see the "exact" same creature over and over again. I did start to feel like I had seen them before, the repetitiveness starts to shine through.  I think that some people overestimate having a ton of "unique" content is going to make the game so much richer in detail.   It sorta is overlooking the point.  Heck, look at chess or tetris.  Billions of ways it can turn out, with a very narrow scope.  "content" and "variety" does not usually translate to better games(gameplay) or increase fun factor. 

"Experience is what you get when you did not get what you wanted"
Offline philfrei
« Reply #4 - Posted 2011-04-27 20:48:47 »

First off, I'm grateful for the original posting of the code, and registered my appreciation. Very cool stuff! Seems like these are very nice tools to have in one's repertoire.

The philosophical input is interesting, too. I recall from reading about aesthetics, as far back as Aristotle, we've had discussions on the need for both "unity" and "variety", and the paradox that these are not mutually exclusive, but must work together. I've always tried to apply that to composing.

One way to look at it, there is a central metaphor, and everything should support that core. But what you do with that core should have dramatic form. Simply diddling variables randomly is not generally useful, unless you purposefully generating "texture" rather than significant detail. Hard to talk about this without getting off into the ozone.

music and music apps:
Offline CommanderKeith
« Reply #5 - Posted 2011-04-28 02:14:31 »

Looks fantastic with those shadows. Thanks for sharing.

I don't really understand it at all but it's a topic I'm eager to learn.

Markus Persson did a cool short blog entry on it here for anyone interested:

Online Roquen
« Reply #6 - Posted 2011-04-28 13:03:17 »

You just need to post a fBM version for the "hat-trick".
Offline SimonH
« Reply #7 - Posted 2011-05-02 23:47:25 »

You just need to post a fBM version for the "hat-trick".
Yeah, but ridgedMF is sort of an extension of fBM...

People make games and games make people
Offline Mads

JGO Ninja

Medals: 26
Projects: 3
Exp: 6 years

One for all!

« Reply #8 - Posted 2011-05-05 08:31:53 »

Thanks for sharing!  Cool

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Archive (338 views)
2017-04-27 17:45:51

buddyBro (536 views)
2017-04-05 03:38:00

CopyableCougar4 (980 views)
2017-03-24 15:39:42

theagentd (1018 views)
2017-03-24 15:32:08

Rule (994 views)
2017-03-19 12:43:22

Rule (976 views)
2017-03-19 12:42:17

Rule (974 views)
2017-03-19 12:36:21

theagentd (1073 views)
2017-03-16 05:07:07

theagentd (995 views)
2017-03-15 22:37:06

theagentd (762 views)
2017-03-15 22:32:18
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!