instantreality 1.0

Component:
Lighting
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

EnvironmentLight

The EnvironmentLight creates DirectionalLights based on a given Environment texture (which must be a SingleTexture in lat-long format), e.g. the same texture as used in the SkydomeBackground.

Inheritance

Code

XML encoding
<EnvironmentLight numLights='2'
global='TRUE'
ambientIntensity='0'
color='1 1 1'
intensity='1'
showProxyGeometry='FALSE'
proxyGeometrySize='1 1 1'
shadowIntensity='0'
on='TRUE'
logFeature=''
 />
Classic encoding
EnvironmentLight {
	numLights 2
	global TRUE
	ambientIntensity 0
	color 1 1 1
	intensity 1
	showProxyGeometry FALSE
	proxyGeometrySize 1 1 1
	shadowIntensity 0
	on TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFInt32 numLights SFInt32 inputOutput 2 The (maximum) number of lights that are generated.
SFBool showProxyGeometry SFBool inputOutput FALSE toggle geometry at light position (use for visual debugging)
SFVec3f proxyGeometrySize SFVec3f inputOutput 1 1 1 scales proxy geometry
SFFloat shadowIntensity SFFloat inputOutput 0 [0, 1] intensity of the shadow; 0 is no shadow at all
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