java.lang.Object
de.grogra.ray2.tracing.RadiationModel
de.grogra.ray2.tracing.LightModelProcessorByOrder
- All Implemented Interfaces:
Cloneable
Same as
LightModelProcessor but records results separately for each
scattering order (recursion depth), enabling per-order analysis of direct
vs. diffuse radiation contributions.- Author:
- MH
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.ray2.tracing.RadiationModel
RadiationModel.RayPoint -
Constructor Summary
ConstructorsConstructorDescriptionLightModelProcessorByOrder(Scene scene, int[] idToGroup) LightModelProcessorByOrder(Scene scene, int depth, ObjectList<ObjectList<Spectrum>> radiantPowerSum, ObjectList<ObjectList<Spectrum>> absorbedPowerSum, ObjectList<ObjectList<Spectrum>> reflectedPowerSum, ObjectList<ObjectList<Spectrum>> transmittedPowerSum, ObjectList<ObjectList<Spectrum>> sensedIrradianceSum, int[] idToGroup, int bundleSize, ObjectList<ObjectList<RadiationModel.RayPoint>> rays, ObjectList<IntList> hitCounterSum) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(long rayCount, long seed, ProgressMonitor progress, int maxDepth, double minPower) intprotected voidMethods inherited from class de.grogra.ray2.tracing.RadiationModel
getAbsorbedPower, getAbsorbedPowerCollector, getAbsorbedPowerD, getHitCount, getHitCountD, getReceivedPower, getReceivedPowerD, getReflectedPower, getReflectedPowerD, getSensedIrradiance, getSensedIrradianceCollector, getSensedIrradianceD, getTracedRays, getTransmittedPower, getTransmittedPowerD
-
Constructor Details
-
LightModelProcessorByOrder
-
LightModelProcessorByOrder
public LightModelProcessorByOrder(Scene scene, int depth, ObjectList<ObjectList<Spectrum>> radiantPowerSum, ObjectList<ObjectList<Spectrum>> absorbedPowerSum, ObjectList<ObjectList<Spectrum>> reflectedPowerSum, ObjectList<ObjectList<Spectrum>> transmittedPowerSum, ObjectList<ObjectList<Spectrum>> sensedIrradianceSum, int[] idToGroup, int bundleSize, ObjectList<ObjectList<RadiationModel.RayPoint>> rays, ObjectList<IntList> hitCounterSum)
-
-
Method Details
-
initLocals
protected void initLocals() -
dup
-
compute
public void compute(long rayCount, long seed, ProgressMonitor progress, int maxDepth, double minPower) - Specified by:
computein classRadiationModel
-
getBundleSize
public int getBundleSize()
-