Package | Description |
---|---|
org.dayflower.pathtracer.scene.texture |
Provides
Texture implementations. |
Modifier and Type | Method and Description |
---|---|
static ImageTexture |
ImageTexture.load(java.io.File file)
Loads an
ImageTexture from a file. |
static ImageTexture |
ImageTexture.load(java.io.File file,
float degrees)
Loads an
ImageTexture from a file given an angle in degrees to rotate it. |
static ImageTexture |
ImageTexture.load(java.io.File file,
float degrees,
float scaleU,
float scaleV)
Loads an
ImageTexture from a file given an angle in degrees to rotate it and the scale factors in the U- and V-directions. |
static ImageTexture |
ImageTexture.random(int width,
int height,
float degrees,
float scaleU,
float scaleV)
Returns a randomly generated
ImageTexture based on its width and height. |
ImageTexture |
ImageTexture.redoGammaCorrection()
Performs a Gamma Correction redo operation.
|
ImageTexture |
ImageTexture.undoGammaCorrection()
Performs a Gamma Correction undo operation.
|