java.lang.Object
de.grogra.ray.tracing.HagensBiDiStrategie1
- All Implemented Interfaces:
BidirectionalPathTracer.PathingStrategies
public class HagensBiDiStrategie1
extends Object
implements BidirectionalPathTracer.PathingStrategies
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongeneratePseudoLight
(Ray rayIn, Ray rayOut, ShadingEnvironment env, RTShader shader, Color3f color) void
getColorFromRay
(Ray ray, Color4f color) static RTLight[]
getMostProbableRay
(RayList rays, int seed) int
void
prepareRayProcessor
(RTScene scene, IntersectionProcessor intersectionProcessor) void
setIntersectionProcessor
(IntersectionProcessor processor) void
setLightProcessor
(LightProcessor model) void
setRecursionDepth
(int value)
-
Constructor Details
-
HagensBiDiStrategie1
public HagensBiDiStrategie1()
-
-
Method Details
-
getMostProbableRay
-
getColorFromRay
- Specified by:
getColorFromRay
in interfaceBidirectionalPathTracer.PathingStrategies
-
generatePseudoLight
public HagensBiDiStrategie1.RTPseudoLight generatePseudoLight(Ray rayIn, Ray rayOut, ShadingEnvironment env, RTShader shader, Color3f color) -
getLights
-
prepareRayProcessor
- Specified by:
prepareRayProcessor
in interfaceBidirectionalPathTracer.PathingStrategies
-
setIntersectionProcessor
- Specified by:
setIntersectionProcessor
in interfaceBidirectionalPathTracer.PathingStrategies
-
setLightProcessor
- Specified by:
setLightProcessor
in interfaceBidirectionalPathTracer.PathingStrategies
-
getLightProcessor
- Specified by:
getLightProcessor
in interfaceBidirectionalPathTracer.PathingStrategies
-
getRecursionDepth
public int getRecursionDepth()- Specified by:
getRecursionDepth
in interfaceBidirectionalPathTracer.PathingStrategies
-
setRecursionDepth
public void setRecursionDepth(int value) - Specified by:
setRecursionDepth
in interfaceBidirectionalPathTracer.PathingStrategies
-