8 #include "core/core.hpp"
9 #include "core/common.h"
10 #include "core/spectrum.h"
12 #include "core/render.hpp"
16 SPICA_EXPORTS Spectrum uniformSampleOneLight(
const Interaction& intr,
20 bool handleMedia =
false);
22 SPICA_EXPORTS Spectrum estimateDirectLight(
const Interaction& intr,
23 const Point2d& randShade,
25 const Point2d& randLight,
26 const Scene& scene, Sampler& sampler,
28 bool specular =
false,
29 bool handleMedia =
false);
31 SPICA_EXPORTS
double powerHeuristic(
int nf,
double fPdf,
int ng,
double gPdf);
33 SPICA_EXPORTS Distribution1D calcLightPowerDistrib(
const Scene& scene);
37 #endif // _SPICA_MIS_H_