java.lang.Object
de.grogra.gpuflux.scene.light.FluxLightBuilder
- All Implemented Interfaces:
LightVisitor
-
Constructor Summary
ConstructorDescriptionFluxLightBuilder
(boolean radiation) FluxLightBuilder
(Graph graph, AbstractList<LightNode> lights) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildLight
(Light s, Matrix4d transformation) void
buildLights
(Graph graph, AbstractList<LightNode> lights) void
finnish
(boolean sampleExplicit, ViewConfig3D view) float[]
int
int
getSky()
static final boolean
Verifies whether this matrix is Orthogonal .void
serialize
(ComputeByteBuffer light_out, ComputeByteBuffer offset_out) void
void
visit
(AmbientLight ambientLight) void
visit
(DirectionalLight directionalLight) void
visit
(Parallelogram parallelogram) void
visit
(PointLight pointLight) void
void
void
void
visit
(SunSkyLight sunSkyLight)
-
Constructor Details
-
FluxLightBuilder
-
FluxLightBuilder
public FluxLightBuilder(boolean radiation)
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in 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:
visit
in interfaceLightVisitor
-
visit
- Specified by:
visit
in interfaceLightVisitor
-
buildLights
-
getLights
-
getLightShaders
-
getLightChannels
-
finnish
-