shader
Class PathtracingShaderOp

java.lang.Object
  extended by shader.PathtracingShaderOp
All Implemented Interfaces:
IShaderOp

public class PathtracingShaderOp
extends java.lang.Object
implements IShaderOp


Constructor Summary
PathtracingShaderOp()
          constructor
 
Method Summary
 void performOperation(IntersectionInfo intersection, RayState rs, RGBColor color, ScatteredRayContainer raycon, Scene scene)
          computes the color
 boolean requireSPF()
          does the shader op needs the SPF
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathtracingShaderOp

public PathtracingShaderOp()
constructor

Method Detail

performOperation

public void performOperation(IntersectionInfo intersection,
                             RayState rs,
                             RGBColor color,
                             ScatteredRayContainer raycon,
                             Scene scene)
Description copied from interface: IShaderOp
computes the color

Specified by:
performOperation in interface IShaderOp
Parameters:
intersection - [in] intersection info
rs - [in] actual state of the ray
color - [out] color of the intersection
raycon - [in/out] the ray container
scene - [in]

requireSPF

public boolean requireSPF()
Description copied from interface: IShaderOp
does the shader op needs the SPF

Specified by:
requireSPF in interface IShaderOp
Returns:
true if it needs spf