public class IrradianceSphericalHarmonicsGenerator extends RunnableWithProgress
This is not used as we use spherical harmonics directly now, but we may need this code again at some point
listener
Constructor and Description |
---|
IrradianceSphericalHarmonicsGenerator(Application app,
JobProgressListener<java.lang.Integer> listener)
Creates an Irradiance map generator.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
setGenerationParam(TextureCubeMap sourceMap,
LightProbe store)
Fills all the generation parameters
|
getProgress, progress, reset, setEnd
public IrradianceSphericalHarmonicsGenerator(Application app, JobProgressListener<java.lang.Integer> listener)
app
- the Applicationlistener
- to monitor progress (alias created)public void setGenerationParam(TextureCubeMap sourceMap, LightProbe store)
sourceMap
- the source cube map
EnvMapUtils.FixSeamsMethod
store
- The cube map to store the result in.public void run()