- All Known Implementing Classes:
DefaultLightProcessor
public interface LightProcessor
Interface that encapsulates the specific light calculation. It has
the return all light/shadow ray that directly or indirectly illuminates
a specific intersection point.
- Author:
- Micha
-
Method Summary
Modifier and TypeMethodDescriptionint
getLightRays
(Ray view, IntersectionDescription desc, RayList rays) Adds lights/shadow rays that illuminalte the specified intersection point.void
prepareLightProcessor
(RTScene scene, IntersectionProcessor intersectionProcessor)
-
Method Details
-
prepareLightProcessor
-
getLightRays
Adds lights/shadow rays that illuminalte the specified intersection point.- Parameters:
view
-desc
- description object that specifies the intersection pointrays
- all determined rays are added to this object- Returns:
- number of rays that are added to the rays object
-