artofillusion.material
Class Material3D
java.lang.Object
artofillusion.material.Material
artofillusion.material.Material3D
- Direct Known Subclasses:
- ProceduralMaterial3D
public abstract class Material3D
- extends Material
Material3D represents a Material whose properties are defined in 3D.
Methods inherited from class artofillusion.material.Material |
assignNewID, castsShadows, duplicate, edit, getID, getName, getStepSize, getTypeName, indexOfRefraction, isScattering, setID, setIndexOfRefraction, setName, usesImage, writeToFile |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Material3D
public Material3D()
getMaterialSpec
public abstract void getMaterialSpec(MaterialSpec spec,
double x,
double y,
double z,
double xsize,
double ysize,
double zsize,
double t)
- Get the properties at point (x, y, z) at time t. More precisely, the properties
returned should represent an average over a region of width (xsize, ysize, zsize),
which is centered at (x, y, z).
getDefaultMapping
public MaterialMapping getDefaultMapping(Object3D obj)
- The default mapping is a LinearMaterialMapping.
- Specified by:
getDefaultMapping
in class Material
Copyright © 1999-2011 by Peter Eastman.