Module raytracer

Class Sphere

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

public abstract class Sphere extends Object
This class divides a Sphere into triangle patches.
Author:
Ralf Kopsch
  • Constructor Details

    • Sphere

      public Sphere()
  • Method Details

    • 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.