|
![](/i/fill.gif) |
Chris Huff wrote:
>
> Just one question: Why do you want different numbers each session? It
> would just make debugging harder...
A couple of projects have occured to me that could use such a beast,
although they have (so far) been of the "neat, but not worth diverting
attention to now" variety. A few ...er.. random ideas:
An abstract art program that keeps a repetoire of objects, textures,
lighting and view elements in separate INC files, and generates
random pieces each time it's run.
An animation script running a variation on the Life Genesis game
which randomly arranges the starting positions of the life pods (in
this case blob components) in 3D space so each run is genuinely
unique.
A POV-Ray file that generates a random figure from a Tarot
deck (or Norse rune cast, or I Ching, or magic 8-ball response,
or... well, you get the idea: plenty of variations) and renders it
along with a text object, or scroll or something expounding the
meaning. For obvious reasons if it kept rendering the same
cast/draw/hexagram each time, it would be self defeating.
You *could* just manually reseed every time, but its just the
principle of having it self contained. Again, it's all stuff to
do when you're bored and don't have a main project or if you have
a more powerful computer than you know what to do with <g>, but
hey, it's a simple enough trick and it might come in handy
sometimes.
Post a reply to this message
|
![](/i/fill.gif) |