Module raytracer

Class Frustum

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

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

    • Frustum

      public Frustum()
  • Method Details

    • computePatches

      public static void computePatches(GroupListBuilder builder, TransformableVolume frustrum, Shader shader)
      Divides the volume into patches and use the builder to store it.
      Parameters:
      builder - saves the created patches.
      frustrum - the volume.
      shader - the material shader.