java.lang.Object
de.grogra.ray.intersection.DefaultIntersectionProcessor
- All Implemented Interfaces:
IntersectionProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
getFirstIntersectionDescription
(Ray ray, RayContext context, IntersectionDescription desc) float
getFirstIntersectionT
(Ray ray, RayContext context) void
prepareProcessing
(RTScene sceneGraph) void
setEvaluationParameters
(int value)
-
Constructor Details
-
DefaultIntersectionProcessor
public DefaultIntersectionProcessor()
-
-
Method Details
-
setEvaluationParameters
public void setEvaluationParameters(int value) -
prepareProcessing
- Specified by:
prepareProcessing
in interfaceIntersectionProcessor
-
cleanupProcessing
public void cleanupProcessing()- Specified by:
cleanupProcessing
in interfaceIntersectionProcessor
-
getFirstIntersectionDescription
public boolean getFirstIntersectionDescription(Ray ray, RayContext context, IntersectionDescription desc) - Specified by:
getFirstIntersectionDescription
in interfaceIntersectionProcessor
-
getFirstIntersectionT
- Specified by:
getFirstIntersectionT
in interfaceIntersectionProcessor
-