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 SummaryFields inherited from class com.jme3.environment.generation.RunnableWithProgresslistener
- 
Constructor SummaryConstructorsConstructorDescriptionIrradianceSphericalHarmonicsGenerator(Application app, JobProgressListener<Integer> listener) Creates an Irradiance map generator.
- 
Method SummaryModifier and TypeMethodDescriptionvoidrun()voidsetGenerationParam(TextureCubeMap sourceMap, LightProbe store) Fills all the generation parametersMethods inherited from class com.jme3.environment.generation.RunnableWithProgressgetProgress, progress, reset, setEnd
- 
Constructor Details- 
IrradianceSphericalHarmonicsGeneratorpublic 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 Application
- listener- to monitor progress (alias created)
 
 
- 
- 
Method Details- 
setGenerationParamFills all the generation parameters- Parameters:
- sourceMap- the source cube map- EnvMapUtils.FixSeamsMethod
- store- The cube map to store the result in.
 
- 
runpublic void run()
 
-