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
SFMatrix4f set_eyeTransform SFMatrix4f inputOnly Position of the eye. This field should be connected to a trackingdevice
SFVec4f distortionK SFVec4f inputOutput 1.0 0.22 0.24 0.0 distortionK, default 1.0 0.22 0.24 0.0
SFBool enabled SFBool inputOutput TRUE If TRUE, the ViewModifier is enabled
SFFloat eyeSeparation SFFloat inputOutput 0.08 Eye distance
SFFloat eyeToScreenDistance SFFloat inputOutput 0.041 eye to screen distance, default 0.041
SFFloat foVScale SFFloat inputOutput 1.0 field of view scale, default 1.0
SFFloat hScreenSize SFFloat inputOutput 0.14976 horizontal screen size, default 0.14976
SFBool leftEye SFBool inputOutput FALSE If TRUE modify viewing matrix for left eye
SFFloat lensSeparationDistance SFFloat inputOutput 0.0635 lens separation distance, default 0.0635
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
SFBool mono SFBool inputOutput FALSE Force mono projektion if true
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 vScreenSize SFFloat inputOutput 0.0935 vertical screen size, default 0.0935