Fast random number generation Hi, i am playing with a ray tracer tutorial. Random number between [0.0..1.0) are used (high)frequently but they use c-style routines. So, my question is, is the C++ pseudo generator like mersenne-twister less performant then c-style rand() ? Or is one of the many other C++ generators better suited for the job ? https://ift.tt/eA8V8J
Hi, i am playing with a ray tracer tutorial. Random number between [0.0..1.0) are used (high)frequently but they use c-style routines. So, my question is, is the C++ pseudo generator like mersenne-twister less performant then c-style rand() ? Or is one of the many other C++ generators better suited for the job ?
from GameDev.net http://bit.ly/2ZmKy3Y
from GameDev.net http://bit.ly/2ZmKy3Y
ليست هناك تعليقات