instantreality 1.0

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

ImprovedDistortionDisplayFilter

This filter is specifically designed for the Oculus Rift HMD. Please consult the SDK documentation for more detailed information on the available parameters.

Inheritance

Code

XML encoding
<ImprovedDistortionDisplayFilter distortionK='1 0 0 0'
chromaAbCorrection='1 0 1 0'
width='1280'
height='800'
lensSeparationDistance='0.064'
hScreenSize='0.14976f'
vScreenSize='0.0935f'
leftEye='TRUE'
enabled='TRUE'
logFeature=''
 />
Classic encoding
ImprovedDistortionDisplayFilter {
	distortionK 1 0 0 0
	chromaAbCorrection 1 0 1 0
	width 1280
	height 800
	lensSeparationDistance 0.064
	hScreenSize 0.14976f
	vScreenSize 0.0935f
	leftEye TRUE
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFVec4f distortionK SFVec4f inputOutput 1 0 0 0 Radial distortion coefficients for a polynomial x + xk^2 + xk^4 + xk^6.
SFVec4f chromaAbCorrection SFVec4f inputOutput 1 0 1 0 Chromatic aberration correction factors.
SFInt32 width SFInt32 inputOutput 1280 The resolution width of the entire display of the HMD.
SFInt32 height SFInt32 inputOutput 800 The resolution height of the entire display of the HMD.
SFFloat lensSeparationDistance SFFloat inputOutput 0.064 Physical distance between the lens centers, in meters.
SFFloat hScreenSize SFFloat inputOutput 0.14976f Physical dimensions of the HMD screen width in meters. Half hScreenSize is used for each eye.
SFFloat vScreenSize SFFloat inputOutput 0.0935f Physical dimensions of the HMD screen height in meters.
SFBool leftEye SFBool inputOutput TRUE If true, filter will render view for left eye.
SFBool enabled SFBool inputOutput TRUE If FALSE, filter is disabled
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