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
SFBool smooth SFBool inputOutput TRUE Defines if polygon antialiasing is used.
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.
SFString backMode SFString inputOutput auto [auto, point, line, fill] Defines if polygon front sides are rendered filled (default), outlined or as points.
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.
SFFloat offsetBias SFFloat inputOutput 0 Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
SFBool enableOffsetPoint SFBool inputOutput FALSE Enables offsetting for points.
SFBool enableOffsetLine SFBool inputOutput FALSE Enables offsetting for lines.
SFBool enableOffsetFill SFBool inputOutput FALSE Enables offsetting for fill.
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