Package | Description |
---|---|
org.osm2world.core.target.common | |
org.osm2world.core.target.common.material |
Modifier and Type | Field and Description |
---|---|
TexCoordFunction |
TextureData.coordFunction
calculation rule for texture coordinates
|
Constructor and Description |
---|
TextureData(File file,
double width,
double height,
TextureData.Wrap wrap,
TexCoordFunction texCoordFunction,
boolean colorable,
boolean isBumpMap) |
Modifier and Type | Class and Description |
---|---|
class |
NamedTexCoordFunction
several useful
TexCoordFunction implementations. |
Modifier and Type | Method and Description |
---|---|
static List<List<VectorXZ>> |
TexCoordUtil.texCoordLists(List<VectorXYZ> vs,
Material material,
TexCoordFunction defaultCoordFunction)
calculates the texture coordinate lists based on the
TexCoordFunction associated with each TextureData layer |
static List<List<VectorXZ>> |
TexCoordUtil.triangleTexCoordLists(Collection<TriangleXYZ> triangles,
Material material,
TexCoordFunction defaultCoordFunction)
equivalent of
TexCoordUtil.texCoordLists(List, Material, TexCoordFunction)
for a collection of triangle objects. |