Module raytracer

Interface IntersectionProcessor

All Known Implementing Classes:
DefaultIntersectionProcessor, OctreeIntersectionProcessor

public interface IntersectionProcessor
An implementation of this interface encapsulates the algorithm of intersection determination of a single ray in a 3D-scene. Mostly additional reference data structures are used to accelarate this calculation.
Author:
Micha
  • Method Details

    • prepareProcessing

      void prepareProcessing(RTScene sceneGraph)
    • cleanupProcessing

      void cleanupProcessing()
    • getFirstIntersectionDescription

      boolean getFirstIntersectionDescription(Ray ray, RayContext context, IntersectionDescription desc)
    • getFirstIntersectionT

      float getFirstIntersectionT(Ray ray, RayContext context)