instantreality 1.0

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

ParallelStereoViewModifier

parallel stereo view modifier for the use with the oculus rift barrel distortion

Inheritance

Code

XML encoding
<ParallelStereoViewModifier eyeToScreenDistance='0.041'
lensSeparationDistance='0.0635'
vScreenSize='0.0935'
hScreenSize='0.14976'
distortionK='1.0 0.22 0.24 0.0'
foVScale='1.0'
leftEye='FALSE'
rightEye='FALSE'
eyeSeparation='0.08'
mono='FALSE'
enabled='TRUE'
logFeature=''
 />
Classic encoding
ParallelStereoViewModifier {
	eyeToScreenDistance 0.041
	lensSeparationDistance 0.0635
	vScreenSize 0.0935
	hScreenSize 0.14976
	distortionK 1.0 0.22 0.24 0.0
	foVScale 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
SFFloat eyeToScreenDistance SFFloat inputOutput 0.041 eye to screen distance, default 0.041
SFFloat lensSeparationDistance SFFloat inputOutput 0.0635 lens separation distance, default 0.0635
SFFloat vScreenSize SFFloat inputOutput 0.0935 vertical screen size, default 0.0935
SFFloat hScreenSize SFFloat inputOutput 0.14976 horizontal screen size, default 0.14976
SFVec4f distortionK SFVec4f inputOutput 1.0 0.22 0.24 0.0 distortionK, default 1.0 0.22 0.24 0.0
SFFloat foVScale SFFloat inputOutput 1.0 field of view scale, default 1.0
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