nuclear@0: /************************************************************************************ nuclear@0: nuclear@0: Filename : OVR_CAPI.h nuclear@0: Content : Keys for CAPI calls nuclear@0: Created : September 25, 2014 nuclear@0: Authors : nuclear@0: nuclear@0: Copyright : Copyright 2014 Oculus VR, LLC All Rights reserved. nuclear@0: nuclear@0: Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); nuclear@0: you may not use the Oculus VR Rift SDK except in compliance with the License, nuclear@0: which is provided at the time of installation or download, or which nuclear@0: otherwise accompanies this software in either electronic or hard copy form. nuclear@0: nuclear@0: You may obtain a copy of the License at nuclear@0: nuclear@0: http://www.oculusvr.com/licenses/LICENSE-3.2 nuclear@0: nuclear@0: Unless required by applicable law or agreed to in writing, the Oculus VR SDK nuclear@0: distributed under the License is distributed on an "AS IS" BASIS, nuclear@0: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. nuclear@0: See the License for the specific language governing permissions and nuclear@0: limitations under the License. nuclear@0: nuclear@0: ************************************************************************************/ nuclear@0: nuclear@0: nuclear@0: nuclear@0: #define OVR_KEY_USER "User" // string nuclear@0: #define OVR_KEY_NAME "Name" // string nuclear@0: #define OVR_KEY_GENDER "Gender" // string nuclear@0: #define OVR_KEY_PLAYER_HEIGHT "PlayerHeight" // float nuclear@0: #define OVR_KEY_EYE_HEIGHT "EyeHeight" // float nuclear@0: #define OVR_KEY_IPD "IPD" // float nuclear@0: #define OVR_KEY_NECK_TO_EYE_DISTANCE "NeckEyeDistance" // float[2] nuclear@0: #define OVR_KEY_EYE_RELIEF_DIAL "EyeReliefDial" // int nuclear@0: #define OVR_KEY_EYE_TO_NOSE_DISTANCE "EyeToNoseDist" // float[2] nuclear@0: #define OVR_KEY_MAX_EYE_TO_PLATE_DISTANCE "MaxEyeToPlateDist" // float[2] nuclear@0: #define OVR_KEY_EYE_CUP "EyeCup" // char[16] nuclear@0: #define OVR_KEY_CUSTOM_EYE_RENDER "CustomEyeRender" // bool nuclear@0: #define OVR_KEY_CAMERA_POSITION "CenteredFromWorld" // double[7] nuclear@0: nuclear@0: // Default measurements empirically determined at Oculus to make us happy nuclear@0: // The neck model numbers were derived as an average of the male and female averages from ANSUR-88 nuclear@0: // NECK_TO_EYE_HORIZONTAL = H22 - H43 = INFRAORBITALE_BACK_OF_HEAD - TRAGION_BACK_OF_HEAD nuclear@0: // NECK_TO_EYE_VERTICAL = H21 - H15 = GONION_TOP_OF_HEAD - ECTOORBITALE_TOP_OF_HEAD nuclear@0: // These were determined to be the best in a small user study, clearly beating out the previous default values nuclear@0: #define OVR_DEFAULT_GENDER "Unknown" nuclear@0: #define OVR_DEFAULT_PLAYER_HEIGHT 1.778f nuclear@0: #define OVR_DEFAULT_EYE_HEIGHT 1.675f nuclear@0: #define OVR_DEFAULT_IPD 0.064f nuclear@0: #define OVR_DEFAULT_NECK_TO_EYE_HORIZONTAL 0.0805f nuclear@0: #define OVR_DEFAULT_NECK_TO_EYE_VERTICAL 0.075f nuclear@0: #define OVR_DEFAULT_EYE_RELIEF_DIAL 3 nuclear@0: #define OVR_DEFAULT_CAMERA_POSITION {0,0,0,1,0,0,0} nuclear@0: