Some more procedural grayscale textures

Published July 23, 2011
Advertisement
Another round of randomly generated procedural grayscale textures for ya:

greyscales.jpg


These are selections from a whole raft of new library modules that a script I left running last night put together, using the latest version of the Accidental Noise Library. Each was generated as a randomly constructed tree of modules and stowed in the library for future reference.

The generator works recursively. I have a table full of possible leaf nodes and a table full of possible regular nodes. The generateNode function is passed a level depth parameter and will generate either a leaf or a regular node depending on if the maximum specified level is reached. Non-leaf nodes typically will create themselves, then recursively create all of the sources they require.

I had to basically delete everything in the library after many of the changes I have made recently, but that's okay. Half the fun of this is running the script and seeing what turns up.

In particular, I find the one second from the left, third from the top a bit interesting and even a little creepy. It looks very much like a bump-map, and even with a little self-shadowing. No doubt it is a result of adding a FunctionGradient function, which takes the gradient of a function along a specified axis. Still, though, the way it worked out is pretty cool, considering nothing in the chain is specifically calculating a bump map for the textures.
3 likes 1 comments

Comments

daver64
nice work :)
July 26, 2011 06:48 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement