instantreality 1.0

Component:
EnvironmentalEffects
Status:
partly implemented
Structure type:
concrete
Standard:
X3D3.1

LocalFog

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.

Inheritance

Code

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

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool on SFBool inputOutput TRUE Enables/disables this effector (e.g. light)
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element