Oculus Rift CHOP
The Oculus Rift CHOP connects to an Oculus Rift device and outputs several useful sets of channels that can be used to integrate the Oculus Rift into projects.
You can view the detected orientation of the device and put the rotation values directly into other operators. To help decrease latency, prediction can be used to guess what the orientation will be at some point in the future.
The raw sensor data is also available, with options for both sensor acceleration and angular velocity.
The devices calibration parameters are another option. These can be used to generate the projection matrices and distortion shaders, although both of these are already available (see below and Oculus Rift TOP). This data is constant, but may differ on future devices.
The last two things the Oculus Rift CHOP can output are the left and right eye projection matrices. These can be (and will need to be) passed into a camera's "Custom Projection" parameter in order to provide a proper 3D experience with the Oculus Rift. For convenience, the channels are aligned to be passed in directly by reference.
Without an Oculus Rift device connected the CHOP uses default values and will output channels corresponding to the Oculus Rift Developer Kit device. This allows you to design something for the Oculus Rift without actually having one.
See also Oculus Rift
Parameters - Oculus Rift Page
active - When on, this CHOP will update it's data when it cooks.
output - Switches between three different output modes.
- Sensor - Can output orientation, acceleration, angular velocity and device info.
- Left Controller - Output channels correspond to inputs from the Left Oculus Controller.
- Right Controller - Output channels correspond to inputs from the Right Oculus Controller.
- Left Projection Matrix - Output channels correspond to the projection matrix for the left eye.
- Right Projection Matrix - Output channels correspond to the projection matrix for the right eye.
device - Selects the device to get data from.
orientation - When on, the output channels will include sensor orientation.
acceleration - When on, the output channels will include acceleration.
velocity - When on, the output channels will include velocity.
deviceinfo - When on, the output channels will include device info.
/near - Specifies the distance of the near clipping plane for the projection matrix.
/far - Specifies the distance of the far clipping plane for the projection matrix.
Standard Options and Local Variables