Notgames Forum

Creation => From the ridiculous to the sublime => : God at play February 24, 2010, 12:04:31 AM



: Generative/procedural graphics
: God at play February 24, 2010, 12:04:31 AM
I love procedural graphics because I think they pretty clearly visualize some of the fundamental beauty of nature, math, and physics (and therefore from my POV, of God).  Here are some illustrations I've done lately in that field, mostly hacking pre-made open source things:

(http://farm5.static.flickr.com/4068/4358018157_1dde95df3a_o.png) (http://www.flickr.com/photos/godatplay/4358018157/)

(http://farm5.static.flickr.com/4012/4362458820_4a6e20fdae_o.png) (http://www.flickr.com/photos/godatplay/4362458820/)

I've been trying to think of more meaningful interactions that can be created with these visuals, beyond a mere toy.  No conclusions yet, though...


: Re: Generative/procedural graphics
: Michaël Samyn February 24, 2010, 10:10:45 AM
Have you had a look at the Processing (http://processing.org) crowd yet? They work a lot with procedural graphics.
Though not often interactive.


: Re: Generative/procedural graphics
: God at play February 24, 2010, 11:15:48 AM
Yeah both of these were based on Processing sketches at one point. :P


: Re: Generative/procedural graphics
: zaratustra February 24, 2010, 03:03:52 PM
Procgen Image Grammar (PIG) is something I've worked on on the last two days

http://zara.verge-rpg.com/procgen/

It works like this: it reads in an image and interprets it as rules. each rule is a image it searches for in the screen, and a bunch of replacement images for that bit

Rules images that exist so far are:

rules.png (makes a grid)
rules2.png (test of mouse control: click on a blue box)
water.png (simulates water aka world of sand)
maze.png (random maze generation)
trees.png (random tree/hole generation)
city.png
castle.png

it might be useful to generate stuff procedurally.

> It might make more sense if you look at the images directly; for example look at http://zara.verge-rpg.com/procgen/rules.png -- you see each row has two images; the program searches the current screen for the stuff in the left column, and replaces it with the corresponding stuff in the right column, which leads to animations.  I think.


: Re: Generative/procedural graphics
: Michaël Samyn February 24, 2010, 03:42:57 PM
Cute! :) What inspired you?


: Re: Generative/procedural graphics
: Thomas February 24, 2010, 07:54:04 PM
This talk about Jonathan Blow is kind of related:
http://braid-game.com/news/?p=666

He kinda speaks about letting the game design itself from a set of simple rules, which is pretty much was procedural content is about too. Jonathan seem to focus on ordinary gameplay aspects but perhaps it can be expanded to include nottier games too. I find this kind of exploration of a hidden universe endlessly interesting (which my fractal program (http://frictionalgames.blogspot.com/2009/11/fractional-fun.html) shows :) ), so I might be a bit bias towards the usefulness of the stuff Jon talks about.


: Re: Generative/procedural graphics
: Víctor Marín February 26, 2010, 03:37:41 PM
There are plenty of games taking use of procedural generation, and is a very interesting technique.

First of all, there is .kkrieger, probably the smallest 3D game in the world, just 96k. http://en.wikipedia.org/wiki/.kkrieger (http://en.wikipedia.org/wiki/.kkrieger)
There are also the old Elite games wich generated a whole galaxy procedurally, and you could interact with it. You could even land on planets! There is a game underwork that tries to retake that spirit: http://infinity-universe.com/Infinity/index.php (http://infinity-universe.com/Infinity/index.php)

I think there are plenty of games of this kind. I remember one wich was pretty much a notgame, small in size and wich only goal was to explore and catalogue fauna in the galaxy, but I don't find it :(


: Re: Generative/procedural graphics
: Dagda April 16, 2010, 12:40:11 AM
The first application that came to mind for me was the idea of creating your own spells out of various fundamental elements- the game could then procedurally generate the graphics for said spells based on their mechanical effects. Experienced players could intuitively "read" someone else's spell as it was being cast, knowing at a glance approximately what it would do.

The second application that comes to mind is a game that tweaks graphical elements in response to the same sort of subtle factors that earlier Silent Hill games tracked to gauge the protagonist's mental state, and by extension the ending they got. Here's a quick example off GameFAQs:
          Requirements for "Leave" ending:
                   
 Do...
                       
 - Listen to the entire hallway conversation
 - Examine Marys picture and letter occasionally
 - Heal immediately after being hurt
 - Excede maximum health limit
                                     
 Do Not...
                                   
 - Do not try to return to the apartment
 - Do not stay close to Maria

In fact, procedural graphics would (hypothetically) allow a game or notgame to explore the core premise of Divers (http://dagda-mor.blogspot.com/search/label/Divers) (one of my major personal projects) in a very effective manner, especially if the procedural variables were maintained in a persistent multiplayer fashion. The central supernatural mechanism here is that the "Depths" (a side of our world we don't normally see, perceived as your surroundings gradually transforming into an abstract representation of their 'true character') are given form by the experiences human beings have in those locations. Procedural mechanics could track that- they could even record some of the most dramatic and/or common events, constructing "echoes" that become archetypical reflections of common trends.

Sorry, guess I'm rambling on- not to mention skimming over all the hard details. Hope the above at least makes a little sense.


: Re: Generative/procedural graphics
: axcho April 28, 2010, 06:45:48 AM
The first application that came to mind for me was the idea of creating your own spells out of various fundamental elements- the game could then procedurally generate the graphics for said spells based on their mechanical effects. Experienced players could intuitively "read" someone else's spell as it was being cast, knowing at a glance approximately what it would do.

Yes. I was thinking of doing this with music/audio-only too, so magic-using players would have access to this entirely separate dimension of perception that non-magic players would be ignorant of. Not sure how, though. :P


: Re: Generative/procedural graphics
: Dagda April 29, 2010, 04:18:08 PM
Use different note sequences to denote different types of spellcasting (i.e. targeted enchantment vs. hastily-cast area effect vs. counterspell), perhaps even requiring players to memorize simple inputs a la the Ocarian of Time. Each school/category of magic (life, fire, wind, thought, etc.) uses the same key and note sequences, but has a different sound/instrument. A mage can thus easily identify the different types of magic that make up a spell being cast, as well as the specific components they're used for.


: Re: Generative/procedural graphics
: axcho May 01, 2010, 11:41:26 PM
Something like that.

I was thinking of something even more fluid, like a weird non-physical landscape represented only in sound, that you manipulate organically for emergent effects that spill over into the visible, (virtual) physical world of the game. Like background music in a movie.


: Re: Generative/procedural graphics
: WarHampster May 02, 2010, 02:30:33 AM
I love procedural generation! Unfortunately it is seldom employed in games to create things more interesting than dungeon and height maps, so I like hearing these ideas.

axcho, your post has me imagining some sort of constantly shifting alien terrain that "ripples" as you talk to it. That would be an interesting world indeed!


: Re: Generative/procedural graphics
: ghostwheel May 08, 2010, 04:03:36 PM
I wish I wasn't math illiterate. Math has always given me trouble, which is very unfortunate as I'd love to be able to screw around with stuff like this.


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.