Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
photon.h File Reference

Go to the source code of this file.

Classes

struct  mitsuba::PhotonData
 Internal data record used by Photon. More...
 
struct  mitsuba::Photon
 Memory-efficient photon representation for use with PointKDTree. More...
 

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_RENDER_PHOTON_H_
 
#define MTS_PHOTONMAP_LEFT_BALANCED   0
 Should Mitsuba use a left-balanced photon map? More...
 

Macro Definition Documentation

#define __MITSUBA_RENDER_PHOTON_H_
#define MTS_PHOTONMAP_LEFT_BALANCED   0

Should Mitsuba use a left-balanced photon map?

This saves some memory, but at a noticeable cost in query performance. The default is to build an unbalanced photon map using the sliding midpoint rule.