de.grogra.ray2.radiosity.triangulation
Class PointLight

java.lang.Object
  extended by de.grogra.ray2.radiosity.triangulation.PointLight

public class PointLight
extends java.lang.Object

This class divides a PointLight into triangle patches.

Author:
Ralf Kopsch

Constructor Summary
PointLight()
           
 
Method Summary
static void computePatches(GroupListBuilder builder, Point3d middle, Color3f color)
          Divides the volume into patches and use the builder to store it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointLight

public PointLight()
Method Detail

computePatches

public static void computePatches(GroupListBuilder builder,
                                  Point3d middle,
                                  Color3f color)
Divides the volume into patches and use the builder to store it.

Parameters:
builder - saves the created patches.
middle - the center of the point light.
color - the color of the point light.