java.lang.Object
de.grogra.gpuflux.scene.FluxObject
de.grogra.gpuflux.scene.light.FluxLight
- Direct Known Subclasses:
FluxDirectionalLight
,FluxParallelLight
,FluxPhysicalLight
,FluxPointLight
,FluxSkyLight
,FluxSpectralLight
-
Field Summary
Modifier and TypeFieldDescriptionprotected Light
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLight()
int
protected Matrix4d
protected void
serializeLightBase
(ComputeByteBuffer out, int type, Tuple3f power, SpectralCurve SPD) void
setTransformation
(Matrix4d transformation) Methods inherited from class de.grogra.gpuflux.scene.FluxObject
getOffset, serialize, setOffset
-
Field Details
-
LIGHT_POINT
protected static final int LIGHT_POINT- See Also:
-
LIGHT_DIRECTIONAL
protected static final int LIGHT_DIRECTIONAL- See Also:
-
LIGHT_SPOT
protected static final int LIGHT_SPOT- See Also:
-
LIGHT_AREA
protected static final int LIGHT_AREA- See Also:
-
LIGHT_PHYSICAL
protected static final int LIGHT_PHYSICAL- See Also:
-
LIGHT_SKY
protected static final int LIGHT_SKY- See Also:
-
LIGHT_SPECTRAL
protected static final int LIGHT_SPECTRAL- See Also:
-
light
-
-
Constructor Details
-
FluxLight
-
-
Method Details
-
getTransformation
-
setTransformation
-
serializeLightBase
protected void serializeLightBase(ComputeByteBuffer out, int type, Tuple3f power, SpectralCurve SPD) throws IOException - Throws:
IOException
-
getSampleCount
public int getSampleCount() -
getLight
-