de.grogra.ray2.radiosity.triangulation
Class Sphere

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

public abstract class Sphere
extends java.lang.Object

This class divides a Sphere into triangle patches.

Author:
Ralf Kopsch

Constructor Summary
Sphere()
           
 
Method Summary
static void computePatches(GroupListBuilder builder, TransformableVolume sphere, Shader shader)
          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

Sphere

public Sphere()
Method Detail

computePatches

public static void computePatches(GroupListBuilder builder,
                                  TransformableVolume sphere,
                                  Shader shader)
Divides the volume into patches and use the builder to store it.

Parameters:
builder - saves the created patches.
sphere - the volume.
shader - the material shader.