Module raytracer

Class Cylinder

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

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

    • Cylinder

      public Cylinder()
  • Method Details

    • computePatches

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