java.lang.Object
de.grogra.gpuflux.scene.light.FluxLightBuilder
- All Implemented Interfaces:
LightVisitor
-
Constructor Summary
ConstructorsConstructorDescriptionFluxLightBuilder(boolean radiation) FluxLightBuilder(Graph graph, AbstractList<LightNode> lights) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildLight(Light s, Matrix4d transformation) voidbuildLights(Graph graph, AbstractList<LightNode> lights) voidfinnish(boolean sampleExplicit, ViewConfig3D view) float[]intintgetSky()static final booleanVerifies whether this matrix is Orthogonal .voidserialize(ComputeByteBuffer light_out, ComputeByteBuffer offset_out) voidvoidvisit(AmbientLight ambientLight) voidvisit(DirectionalLight directionalLight) voidvisit(Parallelogram parallelogram) voidvisit(PointLight pointLight) voidvoidvoidvoidvisit(SunSkyLight sunSkyLight)
-
Constructor Details
-
FluxLightBuilder
-
FluxLightBuilder
public FluxLightBuilder(boolean radiation)
-
-
Method Details
-
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
getSampleCount
public int getSampleCount() -
isOrthogonalMatrix
Verifies whether this matrix is Orthogonal .- Returns:
- true if this matrix is Orthogonal
-
buildLight
-
constructLight
-
getCummulativePowerBuffer
-
serializeCummulativePowerBuffer
public void serializeCummulativePowerBuffer(ComputeByteBuffer out, Environment env) throws IOException - Throws:
IOException
-
serialize
- Throws:
IOException
-
getSky
-
getLightCount
public int getLightCount() -
visit
- Specified by:
visitin interfaceLightVisitor
-
visit
- Specified by:
visitin interfaceLightVisitor
-
buildLights
-
getLights
-
getLightShaders
-
getLightChannels
-
finnish
-