java.lang.Object
de.grogra.gpuflux.scene.FluxObject
de.grogra.gpuflux.scene.light.FluxLight
de.grogra.gpuflux.scene.light.FluxAreaLight
GPU serialiser for the standalone
AreaLight node (RECTANGLE or DISC).
Serialisation layout (matches arealight.h AreaLight struct):
Light base (type = LIGHT_AREA) float exponent int shape (0 = RECTANGLE, 1 = DISC) Vec3 u half-extent in X, world space Vec3 v half-extent in Y, world space Vec3 norm surface normal, world space
- Author:
- MH at YNL 2026
-
Field Summary
Fields inherited from class de.grogra.gpuflux.scene.light.FluxLight
light, LIGHT_AREA, LIGHT_CURVE, LIGHT_DIRECTIONAL, LIGHT_PHYSICAL, LIGHT_POINT, LIGHT_SKY, LIGHT_SPECTRAL, LIGHT_SPOT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.grogra.gpuflux.scene.light.FluxLight
getLight, getTransformation, serializeLightBase, setTransformationMethods inherited from class de.grogra.gpuflux.scene.FluxObject
getOffset, setOffset
-
Constructor Details
-
FluxAreaLight
-
-
Method Details
-
getSampleCount
public int getSampleCount()- Overrides:
getSampleCountin classFluxLight
-
serialize
- Specified by:
serializein classFluxObject- Throws:
IOException
-