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