Random

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 17/06/2008 at 06:09, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi.
At the moment I'm trying to generate random numbers with the Random-class. I need them to do something in a queue, but I don't really understand when the generated numbers are different and when the same. In one queue there is a different number in every cycle, in another queue in every cycle there's the same number.
Can you please help me?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/06/2008 at 02:50, xxxxxxxx wrote:

Noone knows how Random works or noone understands my question (sorry for my poor English ;-))?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/06/2008 at 01:56, xxxxxxxx wrote:

After creating a new Random instance you call the Init() function. After this each call of the GetGxx() function will result in a different random number until you call Init() again.

cheers,
Matthias