java.lang.Object
de.grogra.ray.intersection.OctreeIntersectionProcessor
- All Implemented Interfaces:
IntersectionProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getAdditionColor
(Ray ray, Color4f color) boolean
getFirstIntersectionDescription
(Ray ray, RayContext context, IntersectionDescription desc) boolean
getFirstIntersectionDescription_infiniteObjects
(Ray ray, RayContext context, IntersectionDescription desc) boolean
getFirstIntersectionDescription_noInfiniteObjects
(Ray ray, RayContext context, IntersectionDescription desc) float
getFirstIntersectionT
(Ray ray, RayContext context) float
getFirstIntersectionT_infiniteObjects
(Ray ray, RayContext context) float
getFirstIntersectionT_noInfiniteObjects
(Ray ray, RayContext context) void
prepareProcessing
(RTScene sceneGraph)
-
Constructor Details
-
OctreeIntersectionProcessor
public OctreeIntersectionProcessor()
-
-
Method Details
-
prepareProcessing
- Specified by:
prepareProcessing
in interfaceIntersectionProcessor
-
getFirstIntersectionDescription
public boolean getFirstIntersectionDescription(Ray ray, RayContext context, IntersectionDescription desc) - Specified by:
getFirstIntersectionDescription
in interfaceIntersectionProcessor
-
getFirstIntersectionDescription_noInfiniteObjects
public boolean getFirstIntersectionDescription_noInfiniteObjects(Ray ray, RayContext context, IntersectionDescription desc) -
getFirstIntersectionDescription_infiniteObjects
public boolean getFirstIntersectionDescription_infiniteObjects(Ray ray, RayContext context, IntersectionDescription desc) -
getFirstIntersectionT
- Specified by:
getFirstIntersectionT
in interfaceIntersectionProcessor
-
getFirstIntersectionT_noInfiniteObjects
-
getFirstIntersectionT_infiniteObjects
-
getAdditionColor
-
cleanupProcessing
public void cleanupProcessing()- Specified by:
cleanupProcessing
in interfaceIntersectionProcessor
-