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
Version:
0.25 $Rev: 281 $ $Date: 2006-06-01 20:55:34 +0200 (čt, 01 VI 2006) $ $Author: pepca $
See Also:
Texture.java, MicroFacet

Field Summary
static String COLOR
          Property name: texture color, secondary color, etc.
static String FREQ
          Property name: global texture frequency.
static String FU
          Property name: frequency in the U coordinate.
static 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 String FREQ
Property name: global texture frequency.

See Also:
Constant Field Values

FU

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

See Also:
Constant Field Values

FV

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

See Also:
Constant Field Values

COLOR

static final 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.