Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!






Some more procedural grayscale textures

Posted by JTippetts, 23 July 2011 · 742 views

Another round of randomly generated procedural grayscale textures for ya:

Attached Image


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.




nice work :)

Recent Comments

February 2015 »

S M T W T F S
1234567
891011121314
15161718192021
222324252627 28
PARTNERS