This pull request adds TMsd and TPsd, two new athenaCL commands for setting random seeds. TMsd sets a random seed for the random number generator used in TextureModules (omde/rand.py), and TPsd sets the random seed used in texture parameter objects and in all other places except for TextureModules (and this is the default Python random.seed).
The purpose of these changes is to enable composers using athenaCL, once a good result has been obtained, to be able to repeat that result any number of times in the future.
Some updates to the documentation have also been made.
The version number has been bumped to 2.1.
If the user does not set any random seeds, the behavior of athenaCL is exactly as it was in the previous version.
Menno (@tjingboem) provided the ideas and I helped with the implementation.
This pull request adds TMsd and TPsd, two new athenaCL commands for setting random seeds. TMsd sets a random seed for the random number generator used in TextureModules (omde/rand.py), and TPsd sets the random seed used in texture parameter objects and in all other places except for TextureModules (and this is the default Python random.seed).
The purpose of these changes is to enable composers using athenaCL, once a good result has been obtained, to be able to repeat that result any number of times in the future.
Some updates to the documentation have also been made.
The version number has been bumped to 2.1.
If the user does not set any random seeds, the behavior of athenaCL is exactly as it was in the previous version.
Menno (@tjingboem) provided the ideas and I helped with the implementation.