ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmaprand.c
(Generate patch)

Comparing ray/src/rt/pmaprand.c (file contents):
Revision 2.5 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.6 by rschregle, Mon Aug 14 21:12:10 2017 UTC

# Line 3 | Line 3 | static const char RCSid[] = "$Id$";
3   #endif
4  
5   /*
6 <   ==================================================================
6 >   ======================================================================
7     Random number generators for photon distribution
8  
9     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
10     (c) Fraunhofer Institute for Solar Energy Systems,
11     (c) Lucerne University of Applied Sciences and Arts,
12 <   supported by the Swiss National Science Foundation (SNSF, #147053)
13 <   ==================================================================
12 >       supported by the Swiss National Science Foundation (SNSF, #147053)
13 >   ======================================================================
14    
15     $Id$
16   */
# Line 18 | Line 18 | static const char RCSid[] = "$Id$";
18  
19  
20   /*
21 <   Separate RNG states are used for the following variates during photon
22 <   distribution:
21 >   Separate RNG states are used for the following sampling domains during
22 >   photon distribution:
23    
24     - source partition
25     - emission direction
# Line 28 | Line 28 | static const char RCSid[] = "$Id$";
28     - scattering direction
29     - russian roulette.
30    
31 <   Each photon map also has a local state randState used for distribRatio
32 <   during distribution and for bias compensation during gathering.
31 >   In addition, each photon map also has a local state randState used for
32 >   distribRatio during distribution and for bias compensation during
33 >   gathering.
34    
35 <   The random seed randSeed can added to each initial state with pmapSeed()
36 <   so the RNGs can be externally seeded if necessary.
35 >   The random seed randSeed can be added to each initial state with
36 >   pmapSeed() so the RNGs can be externally seeded if necessary.
37   */
38    
39   unsigned short partState [3] = {47717, 5519, 21521},

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines