|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.graphics3d.utils.Utilities3d
public class Utilities3d
Generel 3D graphics utility class.
Implements helper functions associated with 3d graphics development
| Constructor Summary | |
|---|---|
Utilities3d()
|
|
| Method Summary | |
|---|---|
static int |
getNumTextureMatrixPerColumn(Image sourceImg,
int maxTexDim)
Returns the number of vertical subdivisions the argument image needs to be divided into to respect argument maxTexDim size |
static int |
getNumTextureMatrixPerRow(Image sourceImg,
int maxTexDim)
Returns the number of horizontal subdivisions the argument image needs to be divided into to respect argument maxTexDim size |
static Image[][] |
imageToTextureMatrix(Image sourceImg,
int maxTexDim,
Image[][] texMatrix)
Divides argument image into a matrix of smaller images based on the allowed maxTexDim size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utilities3d()
| Method Detail |
|---|
public static Image[][] imageToTextureMatrix(Image sourceImg,
int maxTexDim,
Image[][] texMatrix)
sourceImg - maxTexDim - texMatrix -
public static int getNumTextureMatrixPerRow(Image sourceImg,
int maxTexDim)
sourceImg - maxTexDim -
public static int getNumTextureMatrixPerColumn(Image sourceImg,
int maxTexDim)
sourceImg - maxTexDim -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||