exphotonmap.cpp File Reference

#include "pbrt.h"
#include "transport.h"
#include "scene.h"
#include "mc.h"
#include "kdtree.h"
#include "sampling.h"

Go to the source code of this file.

Classes

struct  Photon
struct  RadiancePhoton
struct  RadiancePhotonProcess
struct  PhotonProcess
struct  ClosePhoton
class  ExPhotonIntegrator

Functions

float kernel (const Photon *photon, const Point &p, float md2)
DLLEXPORT SurfaceIntegratorCreateSurfaceIntegrator (const ParamSet &params)


Function Documentation

DLLEXPORT SurfaceIntegrator* CreateSurfaceIntegrator ( const ParamSet params  ) 

float kernel ( const Photon photon,
const Point p,
float  md2 
) [inline]

Definition at line 70 of file exphotonmap.cpp.

References DistanceSquared(), M_PI, and Photon::p.

Referenced by ExPhotonIntegrator::LPhoton().


Generated on Mon Jul 20 17:31:53 2009 for pbrt by  doxygen 1.5.6