java.lang.Object
de.grogra.ray2.radiosity.ViewCube
This class describes a viewcube.
A viewcube is a hemicube for exact one patch.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
computeFormFactorMap
(Map<SubPatch, FormFactor> ffMap) Computes the form factor map.void
projPatchOnCube
(SubPatch pIn) Add patch to the viewcube.
-
Constructor Details
-
ViewCube
Creates a new viewcube.- Parameters:
center
- the center of the viewcube.normal
- the normal vector of the viewcube.
-
-
Method Details
-
projPatchOnCube
Add patch to the viewcube.- Parameters:
pIn
- the patch to add.
-
computeFormFactorMap
Computes the form factor map.- Parameters:
ffMap
- the map to fill.
-