Notgames Forum
March 28, 2024, 05:38:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: 1 [2]
  Print  
Author Topic: Ideas for procedural growth?  (Read 32959 times)
edclef

Posts: 14


View Profile WWW
« Reply #15 on: June 15, 2010, 11:01:32 PM »

Maybe take a look at L-systems for a nice simple way of making plants, or at least inspiration of what can be acheived with something quite simple.

If you add some kind of (simple) deforming effects of wind, collision and gravity you might end up with some nice organic, overgrown lushness.

I would go for a mass of simple graphical objects (e.g. particle sprite leaves?) to really get that dense texture of vegetation.
Logged
Andrew Tremblay

Posts: 17



View Profile
« Reply #16 on: July 16, 2010, 09:19:22 AM »

Fractals provide not only the illusion of detail, but the ability to explore that detail into infinity at very little storage and process cost. It would be additionally appropriate with simulating gardens, since fractals occur everywhere in nature.

As for storing thousands and thousands of randomly generated objects, look into seeding. Sometimes the right algorithm can boil down an entire universe into a single integer.
http://www.gamasutra.com/view/feature/3377/algorithms_for_an_infinite_universe.php

Regenerating the universe each play time might get costly eventually, but load times are always a problem.

As for storing a players changes to a large world, well that depends on what s/he's changing. There's likely no other way of doing it than to just log the actions of the player and pushing it through when the game reloads.

And you might have to resort to 2D for large worlds, at least initially. Check out what this guy is up to if you want to look at performance of a large generated world:
http://www.infinity-universe.com/Infinity/index.php?option=com_frontpage&Itemid=26
This especially:
http://www.infinity-universe.com/Infinity/index.php?option=com_content&task=view&id=106&Itemid=27
Logged
Michaël Samyn

Posts: 2042



View Profile WWW
« Reply #17 on: July 16, 2010, 09:47:45 AM »

Thank you, Andrew. That all look very interesting!
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!