instantreality 1.0

Component:
Shape
Status:
fully implemented
Structure type:
abstract
Standard:
X3D2.0

Material (alias: OneSidedMaterial)

Material specifies surface material properties for associated geometry nodes Material attributes are used by the VRML lighting equations during rendering. Hint: insert Shape and Appearance nodes before adding material.

Inheritance

Code

XML encoding
<Material ambientIntensity='0.2'
diffuseColor='0.8 0.8 0.8'
emissiveColor='0 0 0'
shininess='0.2'
specularColor='0 0 0'
transparency='0'
logFeature=''
 />
Classic encoding
Material {
	ambientIntensity 0.2
	diffuseColor 0.8 0.8 0.8
	emissiveColor 0 0 0
	shininess 0.2
	specularColor 0 0 0
	transparency 0
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFFloat ambientIntensity SFFloat inputOutput 0.2 [0, 1] [0..1] how much ambient omnidirectional light is reflected from all light sources. Interchange profile hint: this field may be ignored.
SFColor diffuseColor SFColor inputOutput 0.8 0.8 0.8 [RGB color] how much direct, angle-dependent light is reflected from all light sources. Hint: only emissiveColor affects IndexedLineSet, LineSet and PointSet.
SFColor emissiveColor SFColor inputOutput 0 0 0 [RGB color] how much glowing light is emitted from this object. Hint: emissiveColors glow even when all lights are off. Hint: reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout. Hint: only emissiveColor affects IndexedLineSet, LineSet and PointSet. Warning: bright emissiveColor values can wash out some textures.
SFFloat shininess SFFloat inputOutput 0.2 [0, 1] [0..1] low values provide soft specular glows, high values provide sharper, smaller highlights. Interchange profile hint: this field may be ignored.
SFColor specularColor SFColor inputOutput 0 0 0 [RGB color] specular highlights are brightness reflections (example: shiny spots on an apple). Interchange profile hint: this field may be ignored.
SFFloat transparency SFFloat inputOutput 0 [0, 1] [0..1] how 'clear' an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: transparency less then; .5 opaque, transparency greater then; .5 transparent.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element