Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
Public Member Functions | |
LM_COMPONENT_IMPL_DEF ("naive") | |
virtual void | Build (const Photons &photons) override |
virtual void | CollectPhotons (const Math::Vec3 &p, Math::Float &maxDist2, const PhotonCollectFunc &collectFunc) const override |
virtual void | GetPhotons (std::vector< const Photon * > &photons) const override |
Public Member Functions inherited from PhotonMap | |
LM_COMPONENT_INTERFACE_DEF ("pm.photonmap") | |
Public Member Functions inherited from Component | |
virtual std::string | ComponentInterfaceTypeName () const =0 |
virtual std::string | ComponentImplTypeName () const =0 |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Additional Inherited Members | |
Public Types inherited from PhotonMap | |
typedef std::function< void(const Math::Vec3 &, const Photon &, Math::Float &)> | PhotonCollectFunc |
Function called when a photon is collected in CollectPhotons. | |
Naive photon map. Implements photon map in a naive way for debugging. This is VERY SLOW.