1 |
|
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
|
================================================================== |
5 |
|
Photon map support for light source contributions |
9 |
|
supported by the Swiss National Science Foundation (SNSF, #147053) |
10 |
|
================================================================== |
11 |
|
|
12 |
+ |
$Id$ |
13 |
|
*/ |
14 |
|
|
15 |
< |
#ifndef PMAP_CONTRIB_H |
16 |
< |
#define PMAP_CONTRIB_H |
15 |
> |
#ifndef PMAPCONTRIB_H |
16 |
> |
#define PMAPCONTRIB_H |
17 |
|
|
18 |
|
#include "pmapdata.h" |
19 |
|
|
20 |
|
void initPmapContrib (LUTAB *srcContrib, unsigned numSrcContrib); |
21 |
|
/* Set up photon map contributions (interface to rcmain.c) */ |
22 |
|
|
23 |
< |
void distribPhotonContrib (PhotonMap *pmap); |
23 |
> |
void distribPhotonContrib (PhotonMap *pmap, unsigned numProc); |
24 |
|
/* Emit photons from light sources with tagged contributions, and |
25 |
|
* build photon map */ |
26 |
|
|