[Sidefx-houdini-list] Rand() glitch

Jordi Bares jordibares at the-mill.com
Tue Oct 9 10:06:30 EDT 2007

Hi, I am using rand() function to select randomly textures and I feed a
different value every time (incremented by 1) and I see the rand() function
is generating the same exact set of numbers shifted by one.

At the moment my solution is to feed the number^2 so I shift more than 1
pictures and avoid the repetition but it is very ugly.

My question is... What is the best way to generate pseudo-random numbers
based on integers?


More information about the Sidefx-houdini-list mailing list