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

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

    • Cube

      public Cube()
  • Method Details

    • computePatches

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