Package com.jme3.environment.generation
Class IrradianceSphericalHarmonicsGenerator
java.lang.Object
com.jme3.environment.generation.RunnableWithProgress
com.jme3.environment.generation.IrradianceSphericalHarmonicsGenerator
- All Implemented Interfaces:
 Runnable
Generates the Irradiance map for PBR. This job can be launched from a separate
 thread.
 
This is not used as we use spherical harmonics directly now, but we may need this code again at some point
- 
Field Summary
Fields inherited from class com.jme3.environment.generation.RunnableWithProgress
listener - 
Constructor Summary
ConstructorsConstructorDescriptionIrradianceSphericalHarmonicsGenerator(Application app, JobProgressListener<Integer> listener) Creates an Irradiance map generator. - 
Method Summary
Modifier and TypeMethodDescriptionvoidrun()voidsetGenerationParam(TextureCubeMap sourceMap, LightProbe store) Fills all the generation parametersMethods inherited from class com.jme3.environment.generation.RunnableWithProgress
getProgress, progress, reset, setEnd 
- 
Constructor Details
- 
IrradianceSphericalHarmonicsGenerator
public IrradianceSphericalHarmonicsGenerator(Application app, JobProgressListener<Integer> listener) Creates an Irradiance map generator. The app is needed to enqueue the call to the EnvironmentCamera when the generation is done, so that this process is thread safe.- Parameters:
 app- the Applicationlistener- to monitor progress (alias created)
 
 - 
 - 
Method Details
- 
setGenerationParam
Fills all the generation parameters- Parameters:
 sourceMap- the source cube mapEnvMapUtils.FixSeamsMethodstore- The cube map to store the result in.
 - 
run
public void run() 
 -