instantreality 1.0

Component:
Shape
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

OneSidedMaterial (Standard name: Material)

This node defines material properties that defines one set of material properties for both sides

Inheritance

Code

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

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