instantreality 1.0

partly implemented
Structure type:


Local fog applies only within the same transformation hierarchy that contains the LocalFog node. This limits the effect of the fog to subsets of the world and supports the creation of realistic effects such as a smoke-filled room inside a larger building that is not smoke-filled. If a local fog and a global fog are both defined and active, the lighting contribution from the local fog shall be used instead of the global effect.



XML encoding
<LocalFog enabled='TRUE'
color='1 1 1'
Classic encoding
LocalFog {
	enabled TRUE
	color 1 1 1
	fogType "LINEAR"
	visibilityRange 0
	on TRUE
	logFeature [""]


Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool enabled SFBool inputOutput TRUE flag to enable/disable the local fog
SFColor color SFColor inputOutput 1 1 1 [0, 1] color of the fog
SFString fogType SFString inputOutput LINEAR LINEAR, EXPONENTIAL The fogType field controls how much of the fog colour is blended with the object as a function of distance
SFFloat visibilityRange SFFloat inputOutput 0 [0, -∞) The visibilityRange field specifies the distance in metres (in the local coordinate system) at which objects are totally obscured by the fog
SFBool on SFBool inputOutput TRUE Enables/disables this effector (e.g. light)
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