java.lang.Object
de.grogra.ray2.radiosity.triangulation.Frustum
This class divides a Frustum into triangle patches.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
computePatches
(GroupListBuilder builder, TransformableVolume frustrum, Shader shader) Divides the volume into patches and use the builder to store it.
-
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.
-