instantreality 1.0

Component:
Engine
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

ProjectionViewModifier

The ProjectionViewModifier defines the projection area as a square planein the scene space. The scene is projected form the eyeTransform positionto the projection plane. With this decorator a cave system can be configured.The head position must be routed into the set_eyeTransform field.

Inheritance

Code

XML encoding
<ProjectionViewModifier surface='1 1 0, 1 -1 0, -1 -1 0, -1 1 0'
leftEye='FALSE'
rightEye='FALSE'
eyeSeparation='0.08'
mono='FALSE'
enabled='TRUE'
logFeature=''
 />
Classic encoding
ProjectionViewModifier {
	surface [1 1 0, 1 -1 0, -1 -1 0, -1 1 0]
	leftEye FALSE
	rightEye FALSE
	eyeSeparation 0.08
	mono FALSE
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFVec3f surface MFVec3f inputOutput 1 1 0, 1 -1 0, -1 -1 0, -1 1 0 Four points defining the projection plane
SFMatrix4f set_eyeTransform SFMatrix4f inputOnly Position of the eye. This field should be connected to a trackingdevice
SFBool leftEye SFBool inputOutput FALSE If TRUE modify viewing matrix for left eye
SFBool rightEye SFBool inputOutput FALSE If TRUE modify viewing matrix for right eye. This field is currentlynot used. Right eye is used, if leftEye is false.
SFFloat eyeSeparation SFFloat inputOutput 0.08 Eye distance
SFBool mono SFBool inputOutput FALSE Force mono projektion if true
SFBool enabled SFBool inputOutput TRUE If TRUE, the ViewModifier is enabled
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