instantreality 1.0

Component:
Shape
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.2

TwoSidedMaterial

This node defines material properties that can effect both the front and back side of a polygon individually. These materials are used for both the front and back side of the geometry whenever the X3D lighting model is active.

Inheritance

Code

XML encoding
<TwoSidedMaterial backAmbientIntensity='0.2'
backDiffuseColor='0.8 0.8 0.8'
backEmissiveColor='0 0 0'
backShininess='0.2'
backSpecularColor='0 0 0'
backTransparency='0'
separateBackColor='FALSE'
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
TwoSidedMaterial {
	backAmbientIntensity 0.2
	backDiffuseColor 0.8 0.8 0.8
	backEmissiveColor 0 0 0
	backShininess 0.2
	backSpecularColor 0 0 0
	backTransparency 0
	separateBackColor FALSE
	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
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
SFBool separateBackColor SFBool inputOutput FALSE If the separateBackColor field is set to TRUE, then the rendering shall render the front and back faces of the geometry with different values
SFColor backDiffuseColor SFColor inputOutput 0.8 0.8 0.8 [0, 1] back side diffuse color
SFColor backEmissiveColor SFColor inputOutput 0 0 0 [0, 1] back side emissive color
SFColor backSpecularColor SFColor inputOutput 0 0 0 [0, 1] back side specular color
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.
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 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.
SFFloat backAmbientIntensity SFFloat inputOutput 0.2 [0, 1] back side ambient intensity
SFFloat backShininess SFFloat inputOutput 0.2 [0, 1] back side shininess
SFFloat backTransparency SFFloat inputOutput 0 [0, 1] back side transparency
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.
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.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element