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
FieldsModifier and TypeFieldDescriptionprotected Lightprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLight()intprotected Matrix4dprotected voidserializeLightBase(ComputeByteBuffer out, int type, Tuple3f power, SpectralCurve SPD) voidsetTransformation(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
-