|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Material | |
---|---|
org.osm2world.core.target | export targets for the generated models |
org.osm2world.core.target.common | |
org.osm2world.core.target.common.material | |
org.osm2world.core.target.jogl | |
org.osm2world.core.target.obj | target that creates Wavefront .obj and .mtl files |
org.osm2world.core.target.povray | target that creates .pov files for the POVRay raytracer |
org.osm2world.core.target.statistics | |
org.osm2world.core.world.modules | |
org.osm2world.core.world.modules.common |
Uses of Material in org.osm2world.core.target |
---|
Methods in org.osm2world.core.target with parameters of type Material | |
---|---|
void |
Target.drawBox(Material material,
VectorXYZ bottomCenter,
VectorXZ faceDirection,
double height,
double width,
double depth)
draws a box with outward-facing polygons. |
void |
Target.drawColumn(Material material,
Integer corners,
VectorXYZ base,
double height,
double radiusBottom,
double radiusTop,
boolean drawBottom,
boolean drawTop)
draws a column with outward-facing polygons around a point. |
void |
Target.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a convex polygon |
void |
Target.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a triangle fan. |
void |
Target.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
draws triangles. |
void |
Target.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a triangle strip. |
void |
Target.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
draws triangles with explicitly defined normal vectors. |
Uses of Material in org.osm2world.core.target.common |
---|
Methods in org.osm2world.core.target.common with parameters of type Material | |
---|---|
void |
AbstractTarget.drawBox(Material material,
VectorXYZ bottomCenter,
VectorXZ faceDirection,
double height,
double width,
double depth)
|
void |
AbstractTarget.drawColumn(Material material,
Integer corners,
VectorXYZ base,
double height,
double radiusBottom,
double radiusTop,
boolean drawBottom,
boolean drawTop)
|
void |
FaceTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
AbstractTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
abstract void |
FaceTarget.drawFace(Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
protected abstract void |
PrimitiveTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
void |
PrimitiveTarget.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
AbstractTarget.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
PrimitiveTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
|
void |
FaceTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
|
void |
PrimitiveTarget.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
AbstractTarget.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
PrimitiveTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
|
void |
FaceTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
|
Uses of Material in org.osm2world.core.target.common.material |
---|
Subclasses of Material in org.osm2world.core.target.common.material | |
---|---|
class |
ConfMaterial
a material whose attributes can be configured at runtime. |
class |
ImmutableMaterial
a simple material class that offers no capabilities beyond the minimum requirements of Material |
Methods in org.osm2world.core.target.common.material that return Material | |
---|---|
Material |
Material.brighter()
|
Material |
Material.darker()
|
static Material |
Materials.getSurfaceMaterial(String value)
returns a material for a surface value; null if none is found |
static Material |
Materials.getSurfaceMaterial(String value,
Material fallback)
same as Materials.getSurfaceMaterial(String) , but with fallback value |
Material |
Material.makeSmooth()
|
Methods in org.osm2world.core.target.common.material with parameters of type Material | |
---|---|
static Material |
Materials.getSurfaceMaterial(String value,
Material fallback)
same as Materials.getSurfaceMaterial(String) , but with fallback value |
static String |
Materials.getUniqueName(Material material)
returns a human-readable, unique name for a material defined within this class, null for all other materials. |
Uses of Material in org.osm2world.core.target.jogl |
---|
Methods in org.osm2world.core.target.jogl that return types with arguments of type Material | |
---|---|
Set<Material> |
PrimitiveBuffer.getMaterials()
returns all materials used in the buffer |
Methods in org.osm2world.core.target.jogl with parameters of type Material | |
---|---|
protected void |
PrimitiveBuffer.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
protected void |
JOGLTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
Collection<Primitive> |
PrimitiveBuffer.getPrimitives(Material material)
returns all primitives that use a given material |
static int |
JOGLRendererVBO.getValuesPerVertex(Material material)
returns the number of values for each vertex in the vertex buffer layout appropriate for a given material. |
Uses of Material in org.osm2world.core.target.obj |
---|
Methods in org.osm2world.core.target.obj with parameters of type Material | |
---|---|
void |
ObjTarget.drawFace(Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
void |
ObjTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
|
void |
ObjTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
|
Uses of Material in org.osm2world.core.target.povray |
---|
Methods in org.osm2world.core.target.povray with parameters of type Material | |
---|---|
void |
POVRayTarget.appendMaterialOrName(Material material)
|
void |
POVRayTarget.drawColumn(Material material,
Integer corners,
VectorXYZ base,
double height,
double radiusBottom,
double radiusTop,
boolean drawBottom,
boolean drawTop)
|
void |
POVRayTarget.drawColumn(Material material,
Integer corners,
VectorXYZ base,
VectorXYZ cap,
double radiusBottom,
double radiusTop,
boolean drawBottom,
boolean drawTop)
variant of POVRayTarget.drawColumn(Material, Integer, VectorXYZ, double, double, double, boolean, boolean)
that allows arbitrarily placed columns |
void |
POVRayTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
|
void |
POVRayTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
|
void |
POVRayTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
|
Uses of Material in org.osm2world.core.target.statistics |
---|
Methods in org.osm2world.core.target.statistics that return types with arguments of type Material | |
---|---|
Set<Material> |
StatisticsTarget.getKnownMaterials()
|
Methods in org.osm2world.core.target.statistics with parameters of type Material | |
---|---|
protected void |
StatisticsTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists)
|
long |
StatisticsTarget.getCountForMaterial(Material material,
StatisticsTarget.Stat stat)
|
Uses of Material in org.osm2world.core.world.modules |
---|
Methods in org.osm2world.core.world.modules that return Material | |
---|---|
Material |
RoadModule.Road.getSurface()
|
Uses of Material in org.osm2world.core.world.modules.common |
---|
Methods in org.osm2world.core.world.modules.common with parameters of type Material | |
---|---|
static List<List<VectorXZ>> |
WorldModuleTexturingUtil.globalTexCoordLists(Collection<TriangleXYZ> triangles,
Material material,
boolean vertical)
variant of WorldModuleTexturingUtil.globalTexCoordLists(List, Material, boolean)
based on a triangle collection |
static List<List<VectorXZ>> |
WorldModuleTexturingUtil.globalTexCoordLists(List<VectorXYZ> vs,
Material material,
boolean vertical)
creates texture coordinates based only on the vertex coordinates in the global coordinate system and the texture size |
static void |
WorldModuleBillboardUtil.renderCrosstree(Target<?> target,
Material material,
VectorXYZ pos,
double width,
double height,
boolean mirroredTextures)
renders a "cross tree" shape. |
static List<List<VectorXZ>> |
WorldModuleTexturingUtil.slopedFaceTexCoordLists(Collection<TriangleXYZ> triangles,
Material material)
creates texture coordinates for triangles that orient the texture based on each triangle's downward slope. |
static List<List<VectorXZ>> |
WorldModuleTexturingUtil.wallTexCoordLists(List<VectorXYZ> vs,
Material material)
creates texture coordinates for a triangle strip, based on the length along a wall from the starting point, height of the vertex, and texture size. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |