Function for setting up the random seed.

Feature requests for future versions of Hollywood can be voiced here
Post Reply
jalih
Posts: 276
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Function for setting up the random seed.

Post by jalih »

Sometimes it would be useful to be able get the same random numbers for every run.

This one came up when porting Simple raytracer example with photon mapping to Hollywood. There is a part where there is a need for getting the same "random" photons for every run, that is every time user drags objects in scene lighting is recalculated.
Post Reply