#include <PhotonMapFilteringRenderingRun.h>
Inheritance diagram for PhotonMapFilteringRenderingRun:
Public Member Functions | |
PhotonMapFilteringRenderingRun (Entity *entity, const String &areaMapName, const String &unfilteredPhotonMapName) | |
~PhotonMapFilteringRenderingRun () | |
virtual void | update () |
Updates the filtered photon map texture corresponding to the actual parameters. | |
void | init (float areaCompensation=-1.0, float normalThreshold=-1.0) |
Initializes the uniform rendering parameters. | |
virtual const String & | getResultTextureName () |
Getter method to obtain the name of the filtered photon map texture object. | |
void | setNormalMapPass (NormalMapPass *normalMapPass) |
Setting up the normal map pass. | |
NormalMapPass * | getNormalMapPass () |
Obtaining the normal map pass. | |
void | setPhotonMapFilteringPass (PhotonMapFilteringPass *photonMapFilteringPass) |
Setting up the photon map filtering pass. | |
PhotonMapFilteringPass * | getPhotonMapFilteringPass () |
Obtaining the photon map filtering pass. | |
void | setAreaMapTexturePtr (TexturePtr areaMap) |
Setting up the area map texture. | |
TexturePtr | getAreaMapTexturePtr () |
Obtaining the area map. | |
void | setUnfilteredPhotonMapTexturePtr (TexturePtr unfilteredPhotonMap) |
Setting up the unfiltered photon map texture. | |
TexturePtr | getUnfilteredPhotonMapTexturePtr () |
Obtaining the unfiltered photon map texture. |
|
Constructor.
|
|
Destructor. |
|
Obtaining the area map.
|
|
Obtaining the normal map pass.
|
|
Obtaining the photon map filtering pass.
|
|
Getter method to obtain the name of the filtered photon map texture object.
Reimplemented from PreComputingRun. |
|
Obtaining the unfiltered photon map texture.
|
|
Initializes the uniform rendering parameters. Calling this method the area compensation and the normal threshold parameter of the filtering algorithm will be initialized. If the input parameters are -1.0 the corresponding member variables will not be changed. |
|
Setting up the area map texture.
|
|
Setting up the normal map pass.
|
|
Setting up the photon map filtering pass.
|
|
Setting up the unfiltered photon map texture.
|
|
Updates the filtered photon map texture corresponding to the actual parameters. This method calls the update method of the normal map pass and the photon map filtering pass. Implements PreComputingRun. |