instantreality 1.0

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

FaceMode

The face mode contains parameters which are specifically set for filled surfaces, i.e. polygons. If set, it overrides the solid and ccw settings given in the Shape's Geometry node (useful for multipass).

Inheritance

Code

XML encoding
<FaceMode logFeature=''
enableOffsetFill='FALSE'
enableOffsetLine='FALSE'
offsetBias='0'
enableOffsetPoint='FALSE'
offsetFactor='0'
backMode='auto'
frontMode='auto'
frontFace='auto'
smooth='TRUE'
cullFace='auto'
 />
Classic encoding
FaceMode {
	logFeature [""]
	enableOffsetFill FALSE
	enableOffsetLine FALSE
	offsetBias 0
	enableOffsetPoint FALSE
	offsetFactor 0
	backMode "auto"
	frontMode "auto"
	frontFace "auto"
	smooth TRUE
	cullFace "auto"
}

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 enableOffsetFill SFBool inputOutput FALSE Enables offsetting for fill.
SFBool enableOffsetLine SFBool inputOutput FALSE Enables offsetting for lines.
SFBool enableOffsetPoint SFBool inputOutput FALSE Enables offsetting for points.
SFBool smooth SFBool inputOutput TRUE Defines if polygon antialiasing is used.
SFFloat offsetBias SFFloat inputOutput 0 Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
SFFloat offsetFactor SFFloat inputOutput 0 Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFString backMode SFString inputOutput auto [auto, point, line, fill] Defines if polygon front sides are rendered filled (default), outlined or as points.
SFString cullFace SFString inputOutput auto [auto, none, front, back, frontAndBack] Defines which side of the polygon is invisible. Set to none to not cull anything.
SFString frontFace SFString inputOutput auto [auto, cw, ccw] Defines which side of the polygon is considered the front side (default ccw).
SFString frontMode SFString inputOutput auto [auto, point, line, fill] Defines if polygon front sides are rendered filled (default), outlined or as points.