instantreality 1.0

Component:
Navigation
Status:
fully implemented
Structure type:
abstract
Standard:
X3D3.0

EnvironmentBindable (alias: Environment)

EnvironmentBindable interface for holding render options.

Inheritance

Code

XML encoding
<EnvironmentBindable globalShadowIntensity='0'
shadowMapSize='512'
shadowMode='perspectiveHardShadow'
shadowOffset='4'
shadowSmoothness='0.5'
shadowExcludeTransparentObjects='TRUE'
frameBufferMode='auto'
occlusionCulling='FALSE'
occlusionCullingMode='stopAndWait'
occlusionCullingPixels='0.0'
occlusionCullingThreshold='0'
sortTrans='TRUE'
correctTwoSidedLighting='TRUE'
twoSidedLighting='TRUE'
polygonMode='fill'
drawVolume='FALSE'
localLights='TRUE'
smallFeatureCulling='FALSE'
smallFeatureCullingMode='traversal'
smallFeaturePixels='10.0'
smallFeatureThreshold='0'
specTexLighting='TRUE'
backfaceCulling='FALSE'
frustumCulling='TRUE'
syncOnFrameFinish='FALSE'
stateSorting='TRUE'
systemSpeed='1.0'
autoFPSAdjustTarget='-1.0 -1.0'
autoFPSAdjustSmallFeaturePixels='0.0 10000.0'
autoFPSAdjustOcclusionPixels='-1.0 -1.0'
isDefault='FALSE'
description=''
triggerName='Synchronize'
logFeature=''
 />
Classic encoding
EnvironmentBindable {
	globalShadowIntensity 0
	shadowMapSize 512
	shadowMode "perspectiveHardShadow"
	shadowOffset 4
	shadowSmoothness 0.5
	shadowExcludeTransparentObjects TRUE
	frameBufferMode "auto"
	occlusionCulling FALSE
	occlusionCullingMode "stopAndWait"
	occlusionCullingPixels 0.0
	occlusionCullingThreshold 0
	sortTrans TRUE
	correctTwoSidedLighting TRUE
	twoSidedLighting TRUE
	polygonMode "fill"
	drawVolume FALSE
	localLights TRUE
	smallFeatureCulling FALSE
	smallFeatureCullingMode "traversal"
	smallFeaturePixels 10.0
	smallFeatureThreshold 0
	specTexLighting TRUE
	backfaceCulling FALSE
	frustumCulling TRUE
	syncOnFrameFinish FALSE
	stateSorting TRUE
	systemSpeed 1.0
	autoFPSAdjustTarget -1.0 -1.0
	autoFPSAdjustSmallFeaturePixels 0.0 10000.0
	autoFPSAdjustOcclusionPixels -1.0 -1.0
	isDefault FALSE
	description ""
	triggerName "Synchronize"
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFFloat globalShadowIntensity SFFloat inputOutput 0 [0, 1] global shadow intensity, overwrites the shadowIntensity settings per light if not 0
SFInt32 shadowMapSize SFInt32 inputOutput 512 [0, Inf] shadow map size
SFString shadowMode SFString inputOutput perspectiveHardShadow none, uniformHardShadow, perspectiveHardShadow, fastUniformSoftShadow, niceUniformSoftShadow, uniformSoftShadow, perspectiveSoftShadow defines the shadow mode
SFFloat shadowOffset SFFloat inputOutput 4 [0, Inf] Offset factor for polygon offset.
SFFloat shadowSmoothness SFFloat inputOutput 0.5 [0, 1] defines the filter sampling range
MFNode shadowExcludeObjects MFNode inputOutput List of objects which should be excluded from throwing shadows
SFBool shadowExcludeTransparentObjects SFBool inputOutput TRUE Usually transparent objects like glass do not throw (much) shadow.
SFString frameBufferMode SFString inputOutput auto auto, fbo, copy, pbuffer controlles the frame buffer mode
SFBool occlusionCulling SFBool inputOutput FALSE If TRUE, occlusion culling is enabled. This can speedup rendering, if large parts of the scene is hidden by other objects.
SFString occlusionCullingMode SFString inputOutput stopAndWait stopAndWait; multiFrame; hierarchicalMultiFrame occlusionCulling mode; use occlusionCulling field to switch it on/off
SFFloat occlusionCullingPixels SFFloat inputOutput 0.0 Ignore small objects, if the number of visible pixlels is less then this value.
SFInt32 occlusionCullingThreshold SFInt32 inputOutput 0 Small feature threshold form occlusion tests
SFBool sortTrans SFBool inputOutput TRUE If TRUE, transparent objects are sorted from back to front.
SFBool correctTwoSidedLighting SFBool inputOutput TRUE Correct if a transformation is a mirror
SFBool twoSidedLighting SFBool inputOutput TRUE If true, the back and the fron of faces are lit.
SFString polygonMode SFString inputOutput fill point; line; fill Polygon mode. Valid entries are point, line, fill
SFBool drawVolume SFBool inputOutput FALSE If TRUE, bounding volumes are shown as wire frame boxes
SFBool localLights SFBool inputOutput TRUE Enable or disable local lights in the rendering backend
SFBool smallFeatureCulling SFBool inputOutput FALSE Optimizations for small objects
SFString smallFeatureCullingMode SFString inputOutput traversal traversal; draw 'traversal': cull nodes during scene graph traversal; 'draw': cull only draw calls
SFFloat smallFeaturePixels SFFloat inputOutput 10.0 Ignore small objects, if the number of visible pixlels is less then this value.
SFInt32 smallFeatureThreshold SFInt32 inputOutput 0 Small feature threshold
SFBool specTexLighting SFBool inputOutput TRUE Use speculare texture lighting extension
SFBool backfaceCulling SFBool inputOutput FALSE If true, backface culling is enabled.
SFBool frustumCulling SFBool inputOutput TRUE If TRUE, objects outside the viewing frusum are ignored
SFBool syncOnFrameFinish SFBool inputOutput FALSE If this field is FALSE, the final Finish call is ommited. This can result in higher frame rates.
SFBool stateSorting SFBool inputOutput TRUE If true, the drawer minimizes render state changes by resorting state chunks.
SFFloat systemSpeed SFFloat inputOutput 1.0 Defines context-global factor which scales all time-dependent calculations (e.g. animation, simulation)
MFNode effects MFNode inputOutput VisualEffects Specifies the desired global effects like depth of field and motion blur for the post-processing step. If bounded viewpoint has any effect enabled, the viewpoint's effects settings take precedence over the environment's effects settings.
SFVec2f autoFPSAdjustTarget SFVec2f inputOutput -1.0 -1.0 target FPS for auto-adjustment (x: static camera, y: moving camera), -1 to turn off
SFVec2f autoFPSAdjustSmallFeaturePixels SFVec2f inputOutput 0.0 10000.0 FPS auto-adjustment will vary the small feature size for culling between this two values (in pixels). Set to -1.0 to disable small feature culling during auto-adjustment.
SFVec2f autoFPSAdjustOcclusionPixels SFVec2f inputOutput -1.0 -1.0 FPS auto-adjustment will vary the size of occluded objects between this two values (objects that cover less pixels are considered to be occluded). Set to -1.0 to disable occlusion culling during auto-adjustment.
XFAny bind XFAny inputOnly sending any event to this slot will bind/activate the Bindable
SFBool set_bind SFBool inputOnly Sending event set_bind=true makes this node active. Sending event set_bind=false makes this node inactive. Thus setting set_bind to true/false will pop/push (enable/disable) this Bindable
SFTime bindTime SFTime outputOnly Event sent when node becomes active/inactive.
SFBool isBound SFBool outputOnly FALSE Event true sent when node becomes active, event false sent when unbound by another node.
SFBool isDefault SFBool initializeOnly FALSE indicates if the object is the default bindable or not (generated if the scene did not contain any Bindable of a missing Type (e.g. Viewpoint))
SFString description SFString initializeOnly Text description or navigation hint to be displayed for this Bindable. Hint: make descriptions clear and readable. Warning: without description, Bindable (e.g. Viewpoint objs) can not be activated/deactivated with keyboard or gui messages (e.g. switched with PgUp bzw PgDn)
SFString triggerName SFString initializeOnly Synchronize name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot.
SFTime triggerSlot SFTime inputOnly slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger.
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