cz.cuni.jagrlib.iface
Interface Texture

All Superinterfaces:
Property
All Known Implementing Classes:
CheckerTexture, SpotTexture

public interface Texture
extends Property

Abstract texture interface - any mapping that modifies MicroFacet data.

Since:
0.11
See Also:
Texture.java, MicroFacet

Field Summary
static java.lang.String COLOR
          Property name: texture color, secondary color, etc.
static java.lang.String FREQ
          Property name: global texture frequency.
static java.lang.String FU
          Property name: frequency in the U coordinate.
static java.lang.String FV
          Property name: frequency in the V coordinate.
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Method Summary
 long compute(MicroFacet mf)
          Computes the texture value in the given point (given by a MicroFacet record).
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Field Detail

FREQ

static final java.lang.String FREQ
Property name: global texture frequency.

See Also:
Constant Field Values

FU

static final java.lang.String FU
Property name: frequency in the U coordinate.

See Also:
Constant Field Values

FV

static final java.lang.String FV
Property name: frequency in the V coordinate.

See Also:
Constant Field Values

COLOR

static final java.lang.String COLOR
Property name: texture color, secondary color, etc.

See Also:
Constant Field Values
Method Detail

compute

long compute(MicroFacet mf)
Computes the texture value in the given point (given by a MicroFacet record).

Parameters:
mf - MicroFacet object to modify.
Returns:
Hash-value (sample signature) used for adaptive subsampling.