blender/source/creator
Antony Riakiotakis 016e75ad64 Fix T42139, vertical noise stripe patterns in noise texture.
Two fixes here (only the second one is strictly needed to fix the issue,
but both make the system better).

First is introduction of a random generator array for use with threaded
systems where each thread needs to access its own number generator.
The random texture now uses this so it should not be influenced by other
random generator reseedings of the main random generator like it did
before.

Second, I reshuffled the texture code to resample the upper bits of the
random number first. According to Numerical Recipes, this is where the
most variance can be found, so by sampling those we avoid correlation
issues. Also, multiplying here is not ideal because if a pair of bits
are zero, then the whole result will also be zero.

Overall this is much more random (tm) than before, however result will
also be brighter, since we now have less black spots. Tweaking the
brightness/contrast should somewhat fix that, generally having the same
result as before is not possible anyway if we are to really fix this.

Also, seems like exposing procedural depth might be nice here since it
influences the precision of the texture lookup.
2014-10-09 15:48:52 +02:00
..
blender.map Attempt to fix #35228: hide a few LLVM symbols that are not in the llvm namespace 2013-05-06 09:44:56 +00:00
buildinfo.c Further tweaks to buildinfo 2013-11-15 18:05:27 +06:00
CMakeLists.txt Fix compilation error after recent commit 2014-10-08 04:11:23 +06:00
creator_launch_win.c Fix T41962: Command-line without specified filename doesn't renders 2014-09-26 15:09:44 +06:00
creator.c Fix T42139, vertical noise stripe patterns in noise texture. 2014-10-09 15:48:52 +02:00
osx_locals.map OSX: make some more symbols global only, this may prevent clashes on older systems and is good for loading times anyway. 2014-09-19 15:00:15 +02:00