java.lang.Object
de.grogra.ray2.tracing.ProcessorBase
de.grogra.ray2.tracing.RayProcessorBase
de.grogra.ray2.tracing.PhotonMapRayProcessor
- All Implemented Interfaces:
RayProcessor,Cloneable
This class renders a scene with the photon map rendering algorithm.
- Author:
- Ralf Kopsch
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.ray2.tracing.RayProcessorBase
RayProcessorBase.Locals -
Field Summary
Fields inherited from class de.grogra.ray2.tracing.RayProcessorBase
enteredSolids, RECURSION_DEPTH, renderer, scene, sumColor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendStatisticsImpl(StringBuffer stats) voidinitialize(PixelwiseRenderer renderer, Scene scene) With this method the processor is initialized with the scene and other information of aPixelwiseRenderer.protected voidMethods inherited from class de.grogra.ray2.tracing.RayProcessorBase
dup, getColorFromRay, getIOR, getLightProcessor, initializeBeforeTracing, mergeStatistics, setLightProcessor, setRecursionDepthMethods inherited from class de.grogra.ray2.tracing.ProcessorBase
appendStatistics, cloneMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.grogra.ray2.tracing.RayProcessor
appendStatistics
-
Constructor Details
-
PhotonMapRayProcessor
public PhotonMapRayProcessor()Creates a new Photon Map Processor.
-
-
Method Details
-
initialize
Description copied from interface:RayProcessorWith this method the processor is initialized with the scene and other information of aPixelwiseRenderer.- Specified by:
initializein interfaceRayProcessor- Overrides:
initializein classRayProcessorBase- Parameters:
renderer- the renderer which provides the needed informationscene- the scene which is rendered
-
initLocals
protected void initLocals()- Overrides:
initLocalsin classRayProcessorBase
-
appendStatisticsImpl
- Specified by:
appendStatisticsImplin classProcessorBase
-