java.lang.Object
de.grogra.ray2.radiosity.triangulation.Triangulizer
This class divides a volume into patches.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
triangulize
(GroupListBuilder builder, Scene scene, int lightIndex) This method divides a Light into patches.static void
triangulize
(GroupListBuilder builder, Scene scene, Volume v) This method divides a volume into a list of patches.
-
Constructor Details
-
Triangulizer
public Triangulizer()
-
-
Method Details
-
triangulize
public static void triangulize(GroupListBuilder builder, Scene scene, Volume v) throws TriangulationException This method divides a volume into a list of patches.- Parameters:
builder
- the global builder list.scene
- the scene.v
- a volume.- Throws:
TriangulationException
- thrown if, the given volume can not be divided.
-
triangulize
public static void triangulize(GroupListBuilder builder, Scene scene, int lightIndex) throws TriangulationException This method divides a Light into patches.- Parameters:
builder
- the global builder list.scene
- the scenelightIndex
- the light index.- Throws:
TriangulationException
- thrown if, a volume can not be divided.
-