# HG changeset patch # User John Tsiombikas # Date 1379531704 -10800 # Node ID 3265970a7315c830fd2a16f388c60f9270d63b9d # Parent 5a3ab7506c409d018e62c655d5f81bd2dbdf3ee1 added xcode project diff -r 5a3ab7506c40 -r 3265970a7315 .hgignore --- a/.hgignore Wed Sep 18 17:26:38 2013 +0300 +++ b/.hgignore Wed Sep 18 22:15:04 2013 +0300 @@ -1,4 +1,11 @@ \.o$ +\.swp$ \.d$ -\.swp$ -^oculus1$ +Makefile$ +oculus1$ +\.DS_store$ +^data +^build/ +\.pbxuser$ +xcuserdata +xcworkspace diff -r 5a3ab7506c40 -r 3265970a7315 oculus_test1.xcodeproj/project.pbxproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/oculus_test1.xcodeproj/project.pbxproj Wed Sep 18 22:15:04 2013 +0300 @@ -0,0 +1,552 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 06C414DB17EA2E9B00B02BEB /* camera.cc in Sources */ = {isa = PBXBuildFile; fileRef = 06C414D317EA2E9B00B02BEB /* camera.cc */; }; + 06C414DC17EA2E9B00B02BEB /* main.cc in Sources */ = {isa = PBXBuildFile; fileRef = 06C414D517EA2E9B00B02BEB /* main.cc */; }; + 06C414DD17EA2E9B00B02BEB /* opengl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 06C414D617EA2E9B00B02BEB /* opengl.cc */; }; + 06C414DE17EA2E9B00B02BEB /* vr.cc in Sources */ = {isa = PBXBuildFile; fileRef = 06C414D917EA2E9B00B02BEB /* vr.cc */; }; + 06C4154917EA2EC800B02BEB /* OVR_Alg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414E517EA2EC700B02BEB /* OVR_Alg.cpp */; }; + 06C4154A17EA2EC800B02BEB /* OVR_Allocator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414E717EA2EC700B02BEB /* OVR_Allocator.cpp */; }; + 06C4154B17EA2EC800B02BEB /* OVR_Atomic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414EA17EA2EC700B02BEB /* OVR_Atomic.cpp */; }; + 06C4154C17EA2EC800B02BEB /* OVR_File.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414EE17EA2EC700B02BEB /* OVR_File.cpp */; }; + 06C4154D17EA2EC800B02BEB /* OVR_FileFILE.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414F017EA2EC700B02BEB /* OVR_FileFILE.cpp */; }; + 06C4154E17EA2EC800B02BEB /* OVR_Log.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414F417EA2EC700B02BEB /* OVR_Log.cpp */; }; + 06C4154F17EA2EC800B02BEB /* OVR_Math.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414F617EA2EC700B02BEB /* OVR_Math.cpp */; }; + 06C4155017EA2EC800B02BEB /* OVR_RefCount.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414F817EA2EC700B02BEB /* OVR_RefCount.cpp */; }; + 06C4155117EA2EC800B02BEB /* OVR_Std.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414FA17EA2EC700B02BEB /* OVR_Std.cpp */; }; + 06C4155217EA2EC800B02BEB /* OVR_String.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414FC17EA2EC700B02BEB /* OVR_String.cpp */; }; + 06C4155317EA2EC800B02BEB /* OVR_String_FormatUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414FE17EA2EC700B02BEB /* OVR_String_FormatUtil.cpp */; }; + 06C4155417EA2EC800B02BEB /* OVR_String_PathUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C414FF17EA2EC700B02BEB /* OVR_String_PathUtil.cpp */; }; + 06C4155517EA2EC800B02BEB /* OVR_SysFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4150117EA2EC700B02BEB /* OVR_SysFile.cpp */; }; + 06C4155617EA2EC800B02BEB /* OVR_System.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4150317EA2EC700B02BEB /* OVR_System.cpp */; }; + 06C4155717EA2EC800B02BEB /* OVR_Timer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4150617EA2EC700B02BEB /* OVR_Timer.cpp */; }; + 06C4155817EA2EC800B02BEB /* OVR_UTF8Util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4150917EA2EC700B02BEB /* OVR_UTF8Util.cpp */; }; + 06C4155F17EA2EC800B02BEB /* OVR_OSX_DeviceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4151617EA2EC700B02BEB /* OVR_OSX_DeviceManager.cpp */; }; + 06C4156017EA2EC800B02BEB /* OVR_OSX_HIDDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4151817EA2EC800B02BEB /* OVR_OSX_HIDDevice.cpp */; }; + 06C4156117EA2EC800B02BEB /* OVR_OSX_HMDDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4151A17EA2EC800B02BEB /* OVR_OSX_HMDDevice.cpp */; }; + 06C4156217EA2EC800B02BEB /* OVR_OSX_SensorDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4151C17EA2EC800B02BEB /* OVR_OSX_SensorDevice.cpp */; }; + 06C4156317EA2EC800B02BEB /* OVR_ThreadsPthread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4151D17EA2EC800B02BEB /* OVR_ThreadsPthread.cpp */; }; + 06C4156417EA2EC800B02BEB /* OVR_DeviceHandle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152017EA2EC800B02BEB /* OVR_DeviceHandle.cpp */; }; + 06C4156517EA2EC800B02BEB /* OVR_DeviceImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152217EA2EC800B02BEB /* OVR_DeviceImpl.cpp */; }; + 06C4156617EA2EC800B02BEB /* OVR_JSON.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152817EA2EC800B02BEB /* OVR_JSON.cpp */; }; + 06C4156717EA2EC800B02BEB /* OVR_LatencyTestImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152A17EA2EC800B02BEB /* OVR_LatencyTestImpl.cpp */; }; + 06C4156817EA2EC800B02BEB /* OVR_Profile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152C17EA2EC800B02BEB /* OVR_Profile.cpp */; }; + 06C4156917EA2EC800B02BEB /* OVR_SensorFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4152E17EA2EC800B02BEB /* OVR_SensorFilter.cpp */; }; + 06C4156A17EA2EC800B02BEB /* OVR_SensorFusion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153017EA2EC800B02BEB /* OVR_SensorFusion.cpp */; }; + 06C4156B17EA2EC800B02BEB /* OVR_SensorImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153217EA2EC800B02BEB /* OVR_SensorImpl.cpp */; }; + 06C4156C17EA2EC800B02BEB /* OVR_ThreadCommandQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153417EA2EC800B02BEB /* OVR_ThreadCommandQueue.cpp */; }; + 06C4156D17EA2EC800B02BEB /* Util_LatencyTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153717EA2EC800B02BEB /* Util_LatencyTest.cpp */; }; + 06C4156E17EA2EC800B02BEB /* Util_MagCalibration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153917EA2EC800B02BEB /* Util_MagCalibration.cpp */; }; + 06C4156F17EA2EC800B02BEB /* Util_Render_Stereo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 06C4153B17EA2EC800B02BEB /* Util_Render_Stereo.cpp */; }; + 06C4157717EA2F5E00B02BEB /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C4157617EA2F5E00B02BEB /* GLUT.framework */; }; + 06C4157917EA2FEE00B02BEB /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C4157817EA2FEE00B02BEB /* OpenGL.framework */; }; + 06C4157B17EA30A200B02BEB /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C4157A17EA30A200B02BEB /* CoreFoundation.framework */; }; + 06C4157D17EA30B500B02BEB /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C4157C17EA30B500B02BEB /* ApplicationServices.framework */; }; + 06C4157F17EA30C200B02BEB /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C4157E17EA30C200B02BEB /* IOKit.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 06C414C517EA2E0000B02BEB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 06C414C717EA2E0000B02BEB /* oculus_test1 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = oculus_test1; sourceTree = BUILT_PRODUCTS_DIR; }; + 06C414D317EA2E9B00B02BEB /* camera.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = camera.cc; path = src/camera.cc; sourceTree = SOURCE_ROOT; }; + 06C414D417EA2E9B00B02BEB /* camera.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = camera.h; path = src/camera.h; sourceTree = SOURCE_ROOT; }; + 06C414D517EA2E9B00B02BEB /* main.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cc; path = src/main.cc; sourceTree = SOURCE_ROOT; }; + 06C414D617EA2E9B00B02BEB /* opengl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = opengl.cc; path = src/opengl.cc; sourceTree = SOURCE_ROOT; }; + 06C414D717EA2E9B00B02BEB /* opengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = opengl.h; path = src/opengl.h; sourceTree = SOURCE_ROOT; }; + 06C414D817EA2E9B00B02BEB /* vr_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vr_impl.h; path = src/vr_impl.h; sourceTree = SOURCE_ROOT; }; + 06C414D917EA2E9B00B02BEB /* vr.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = vr.cc; path = src/vr.cc; sourceTree = SOURCE_ROOT; }; + 06C414DA17EA2E9B00B02BEB /* vr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vr.h; path = src/vr.h; sourceTree = SOURCE_ROOT; }; + 06C414E117EA2EC700B02BEB /* OVR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR.h; sourceTree = ""; }; + 06C414E217EA2EC700B02BEB /* OVRVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVRVersion.h; sourceTree = ""; }; + 06C414E517EA2EC700B02BEB /* OVR_Alg.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Alg.cpp; sourceTree = ""; }; + 06C414E617EA2EC700B02BEB /* OVR_Alg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Alg.h; sourceTree = ""; }; + 06C414E717EA2EC700B02BEB /* OVR_Allocator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Allocator.cpp; sourceTree = ""; }; + 06C414E817EA2EC700B02BEB /* OVR_Allocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Allocator.h; sourceTree = ""; }; + 06C414E917EA2EC700B02BEB /* OVR_Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Array.h; sourceTree = ""; }; + 06C414EA17EA2EC700B02BEB /* OVR_Atomic.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Atomic.cpp; sourceTree = ""; }; + 06C414EB17EA2EC700B02BEB /* OVR_Atomic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Atomic.h; sourceTree = ""; }; + 06C414EC17EA2EC700B02BEB /* OVR_Color.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Color.h; sourceTree = ""; }; + 06C414ED17EA2EC700B02BEB /* OVR_ContainerAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_ContainerAllocator.h; sourceTree = ""; }; + 06C414EE17EA2EC700B02BEB /* OVR_File.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_File.cpp; sourceTree = ""; }; + 06C414EF17EA2EC700B02BEB /* OVR_File.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_File.h; sourceTree = ""; }; + 06C414F017EA2EC700B02BEB /* OVR_FileFILE.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_FileFILE.cpp; sourceTree = ""; }; + 06C414F117EA2EC700B02BEB /* OVR_Hash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Hash.h; sourceTree = ""; }; + 06C414F217EA2EC700B02BEB /* OVR_KeyCodes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_KeyCodes.h; sourceTree = ""; }; + 06C414F317EA2EC700B02BEB /* OVR_List.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_List.h; sourceTree = ""; }; + 06C414F417EA2EC700B02BEB /* OVR_Log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Log.cpp; sourceTree = ""; }; + 06C414F517EA2EC700B02BEB /* OVR_Log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Log.h; sourceTree = ""; }; + 06C414F617EA2EC700B02BEB /* OVR_Math.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Math.cpp; sourceTree = ""; }; + 06C414F717EA2EC700B02BEB /* OVR_Math.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Math.h; sourceTree = ""; }; + 06C414F817EA2EC700B02BEB /* OVR_RefCount.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_RefCount.cpp; sourceTree = ""; }; + 06C414F917EA2EC700B02BEB /* OVR_RefCount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_RefCount.h; sourceTree = ""; }; + 06C414FA17EA2EC700B02BEB /* OVR_Std.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Std.cpp; sourceTree = ""; }; + 06C414FB17EA2EC700B02BEB /* OVR_Std.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Std.h; sourceTree = ""; }; + 06C414FC17EA2EC700B02BEB /* OVR_String.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_String.cpp; sourceTree = ""; }; + 06C414FD17EA2EC700B02BEB /* OVR_String.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_String.h; sourceTree = ""; }; + 06C414FE17EA2EC700B02BEB /* OVR_String_FormatUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_String_FormatUtil.cpp; sourceTree = ""; }; + 06C414FF17EA2EC700B02BEB /* OVR_String_PathUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_String_PathUtil.cpp; sourceTree = ""; }; + 06C4150017EA2EC700B02BEB /* OVR_StringHash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_StringHash.h; sourceTree = ""; }; + 06C4150117EA2EC700B02BEB /* OVR_SysFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_SysFile.cpp; sourceTree = ""; }; + 06C4150217EA2EC700B02BEB /* OVR_SysFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_SysFile.h; sourceTree = ""; }; + 06C4150317EA2EC700B02BEB /* OVR_System.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_System.cpp; sourceTree = ""; }; + 06C4150417EA2EC700B02BEB /* OVR_System.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_System.h; sourceTree = ""; }; + 06C4150517EA2EC700B02BEB /* OVR_Threads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Threads.h; sourceTree = ""; }; + 06C4150617EA2EC700B02BEB /* OVR_Timer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Timer.cpp; sourceTree = ""; }; + 06C4150717EA2EC700B02BEB /* OVR_Timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Timer.h; sourceTree = ""; }; + 06C4150817EA2EC700B02BEB /* OVR_Types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Types.h; sourceTree = ""; }; + 06C4150917EA2EC700B02BEB /* OVR_UTF8Util.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_UTF8Util.cpp; sourceTree = ""; }; + 06C4150A17EA2EC700B02BEB /* OVR_UTF8Util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_UTF8Util.h; sourceTree = ""; }; + 06C4151617EA2EC700B02BEB /* OVR_OSX_DeviceManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_OSX_DeviceManager.cpp; sourceTree = ""; }; + 06C4151717EA2EC800B02BEB /* OVR_OSX_DeviceManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_OSX_DeviceManager.h; sourceTree = ""; }; + 06C4151817EA2EC800B02BEB /* OVR_OSX_HIDDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_OSX_HIDDevice.cpp; sourceTree = ""; }; + 06C4151917EA2EC800B02BEB /* OVR_OSX_HIDDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_OSX_HIDDevice.h; sourceTree = ""; }; + 06C4151A17EA2EC800B02BEB /* OVR_OSX_HMDDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_OSX_HMDDevice.cpp; sourceTree = ""; }; + 06C4151B17EA2EC800B02BEB /* OVR_OSX_HMDDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_OSX_HMDDevice.h; sourceTree = ""; }; + 06C4151C17EA2EC800B02BEB /* OVR_OSX_SensorDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_OSX_SensorDevice.cpp; sourceTree = ""; }; + 06C4151D17EA2EC800B02BEB /* OVR_ThreadsPthread.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_ThreadsPthread.cpp; sourceTree = ""; }; + 06C4151E17EA2EC800B02BEB /* OVR_Device.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Device.h; sourceTree = ""; }; + 06C4151F17EA2EC800B02BEB /* OVR_DeviceConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_DeviceConstants.h; sourceTree = ""; }; + 06C4152017EA2EC800B02BEB /* OVR_DeviceHandle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_DeviceHandle.cpp; sourceTree = ""; }; + 06C4152117EA2EC800B02BEB /* OVR_DeviceHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_DeviceHandle.h; sourceTree = ""; }; + 06C4152217EA2EC800B02BEB /* OVR_DeviceImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_DeviceImpl.cpp; sourceTree = ""; }; + 06C4152317EA2EC800B02BEB /* OVR_DeviceImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_DeviceImpl.h; sourceTree = ""; }; + 06C4152417EA2EC800B02BEB /* OVR_DeviceMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_DeviceMessages.h; sourceTree = ""; }; + 06C4152517EA2EC800B02BEB /* OVR_HIDDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_HIDDevice.h; sourceTree = ""; }; + 06C4152617EA2EC800B02BEB /* OVR_HIDDeviceBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_HIDDeviceBase.h; sourceTree = ""; }; + 06C4152717EA2EC800B02BEB /* OVR_HIDDeviceImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_HIDDeviceImpl.h; sourceTree = ""; }; + 06C4152817EA2EC800B02BEB /* OVR_JSON.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_JSON.cpp; sourceTree = ""; }; + 06C4152917EA2EC800B02BEB /* OVR_JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_JSON.h; sourceTree = ""; }; + 06C4152A17EA2EC800B02BEB /* OVR_LatencyTestImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_LatencyTestImpl.cpp; sourceTree = ""; }; + 06C4152B17EA2EC800B02BEB /* OVR_LatencyTestImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_LatencyTestImpl.h; sourceTree = ""; }; + 06C4152C17EA2EC800B02BEB /* OVR_Profile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_Profile.cpp; sourceTree = ""; }; + 06C4152D17EA2EC800B02BEB /* OVR_Profile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_Profile.h; sourceTree = ""; }; + 06C4152E17EA2EC800B02BEB /* OVR_SensorFilter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_SensorFilter.cpp; sourceTree = ""; }; + 06C4152F17EA2EC800B02BEB /* OVR_SensorFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_SensorFilter.h; sourceTree = ""; }; + 06C4153017EA2EC800B02BEB /* OVR_SensorFusion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_SensorFusion.cpp; sourceTree = ""; }; + 06C4153117EA2EC800B02BEB /* OVR_SensorFusion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_SensorFusion.h; sourceTree = ""; }; + 06C4153217EA2EC800B02BEB /* OVR_SensorImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_SensorImpl.cpp; sourceTree = ""; }; + 06C4153317EA2EC800B02BEB /* OVR_SensorImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_SensorImpl.h; sourceTree = ""; }; + 06C4153417EA2EC800B02BEB /* OVR_ThreadCommandQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OVR_ThreadCommandQueue.cpp; sourceTree = ""; }; + 06C4153517EA2EC800B02BEB /* OVR_ThreadCommandQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OVR_ThreadCommandQueue.h; sourceTree = ""; }; + 06C4153717EA2EC800B02BEB /* Util_LatencyTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Util_LatencyTest.cpp; sourceTree = ""; }; + 06C4153817EA2EC800B02BEB /* Util_LatencyTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Util_LatencyTest.h; sourceTree = ""; }; + 06C4153917EA2EC800B02BEB /* Util_MagCalibration.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Util_MagCalibration.cpp; sourceTree = ""; }; + 06C4153A17EA2EC800B02BEB /* Util_MagCalibration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Util_MagCalibration.h; sourceTree = ""; }; + 06C4153B17EA2EC800B02BEB /* Util_Render_Stereo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Util_Render_Stereo.cpp; sourceTree = ""; }; + 06C4153C17EA2EC800B02BEB /* Util_Render_Stereo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Util_Render_Stereo.h; sourceTree = ""; }; + 06C4157617EA2F5E00B02BEB /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = System/Library/Frameworks/GLUT.framework; sourceTree = SDKROOT; }; + 06C4157817EA2FEE00B02BEB /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; }; + 06C4157A17EA30A200B02BEB /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = ../../../../../../System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; }; + 06C4157C17EA30B500B02BEB /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = ../../../../../../System/Library/Frameworks/ApplicationServices.framework; sourceTree = ""; }; + 06C4157E17EA30C200B02BEB /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = ../../../../../../System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 06C414C417EA2E0000B02BEB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 06C4157F17EA30C200B02BEB /* IOKit.framework in Frameworks */, + 06C4157D17EA30B500B02BEB /* ApplicationServices.framework in Frameworks */, + 06C4157B17EA30A200B02BEB /* CoreFoundation.framework in Frameworks */, + 06C4157917EA2FEE00B02BEB /* OpenGL.framework in Frameworks */, + 06C4157717EA2F5E00B02BEB /* GLUT.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 06C414BE17EA2E0000B02BEB = { + isa = PBXGroup; + children = ( + 06C4157E17EA30C200B02BEB /* IOKit.framework */, + 06C4157C17EA30B500B02BEB /* ApplicationServices.framework */, + 06C4157A17EA30A200B02BEB /* CoreFoundation.framework */, + 06C4157817EA2FEE00B02BEB /* OpenGL.framework */, + 06C4157617EA2F5E00B02BEB /* GLUT.framework */, + 06C414DF17EA2EC700B02BEB /* libovr */, + 06C414C917EA2E0000B02BEB /* oculus_test1 */, + 06C414C817EA2E0000B02BEB /* Products */, + ); + sourceTree = ""; + }; + 06C414C817EA2E0000B02BEB /* Products */ = { + isa = PBXGroup; + children = ( + 06C414C717EA2E0000B02BEB /* oculus_test1 */, + ); + name = Products; + sourceTree = ""; + }; + 06C414C917EA2E0000B02BEB /* oculus_test1 */ = { + isa = PBXGroup; + children = ( + 06C414D317EA2E9B00B02BEB /* camera.cc */, + 06C414D417EA2E9B00B02BEB /* camera.h */, + 06C414D517EA2E9B00B02BEB /* main.cc */, + 06C414D617EA2E9B00B02BEB /* opengl.cc */, + 06C414D717EA2E9B00B02BEB /* opengl.h */, + 06C414D817EA2E9B00B02BEB /* vr_impl.h */, + 06C414D917EA2E9B00B02BEB /* vr.cc */, + 06C414DA17EA2E9B00B02BEB /* vr.h */, + ); + path = oculus_test1; + sourceTree = ""; + }; + 06C414DF17EA2EC700B02BEB /* libovr */ = { + isa = PBXGroup; + children = ( + 06C414E017EA2EC700B02BEB /* Include */, + 06C414E317EA2EC700B02BEB /* Src */, + ); + path = libovr; + sourceTree = ""; + }; + 06C414E017EA2EC700B02BEB /* Include */ = { + isa = PBXGroup; + children = ( + 06C414E117EA2EC700B02BEB /* OVR.h */, + 06C414E217EA2EC700B02BEB /* OVRVersion.h */, + ); + path = Include; + sourceTree = ""; + }; + 06C414E317EA2EC700B02BEB /* Src */ = { + isa = PBXGroup; + children = ( + 06C414E417EA2EC700B02BEB /* Kernel */, + 06C4151517EA2EC700B02BEB /* osx */, + 06C4151E17EA2EC800B02BEB /* OVR_Device.h */, + 06C4151F17EA2EC800B02BEB /* OVR_DeviceConstants.h */, + 06C4152017EA2EC800B02BEB /* OVR_DeviceHandle.cpp */, + 06C4152117EA2EC800B02BEB /* OVR_DeviceHandle.h */, + 06C4152217EA2EC800B02BEB /* OVR_DeviceImpl.cpp */, + 06C4152317EA2EC800B02BEB /* OVR_DeviceImpl.h */, + 06C4152417EA2EC800B02BEB /* OVR_DeviceMessages.h */, + 06C4152517EA2EC800B02BEB /* OVR_HIDDevice.h */, + 06C4152617EA2EC800B02BEB /* OVR_HIDDeviceBase.h */, + 06C4152717EA2EC800B02BEB /* OVR_HIDDeviceImpl.h */, + 06C4152817EA2EC800B02BEB /* OVR_JSON.cpp */, + 06C4152917EA2EC800B02BEB /* OVR_JSON.h */, + 06C4152A17EA2EC800B02BEB /* OVR_LatencyTestImpl.cpp */, + 06C4152B17EA2EC800B02BEB /* OVR_LatencyTestImpl.h */, + 06C4152C17EA2EC800B02BEB /* OVR_Profile.cpp */, + 06C4152D17EA2EC800B02BEB /* OVR_Profile.h */, + 06C4152E17EA2EC800B02BEB /* OVR_SensorFilter.cpp */, + 06C4152F17EA2EC800B02BEB /* OVR_SensorFilter.h */, + 06C4153017EA2EC800B02BEB /* OVR_SensorFusion.cpp */, + 06C4153117EA2EC800B02BEB /* OVR_SensorFusion.h */, + 06C4153217EA2EC800B02BEB /* OVR_SensorImpl.cpp */, + 06C4153317EA2EC800B02BEB /* OVR_SensorImpl.h */, + 06C4153417EA2EC800B02BEB /* OVR_ThreadCommandQueue.cpp */, + 06C4153517EA2EC800B02BEB /* OVR_ThreadCommandQueue.h */, + 06C4153617EA2EC800B02BEB /* Util */, + ); + path = Src; + sourceTree = ""; + }; + 06C414E417EA2EC700B02BEB /* Kernel */ = { + isa = PBXGroup; + children = ( + 06C414E517EA2EC700B02BEB /* OVR_Alg.cpp */, + 06C414E617EA2EC700B02BEB /* OVR_Alg.h */, + 06C414E717EA2EC700B02BEB /* OVR_Allocator.cpp */, + 06C414E817EA2EC700B02BEB /* OVR_Allocator.h */, + 06C414E917EA2EC700B02BEB /* OVR_Array.h */, + 06C414EA17EA2EC700B02BEB /* OVR_Atomic.cpp */, + 06C414EB17EA2EC700B02BEB /* OVR_Atomic.h */, + 06C414EC17EA2EC700B02BEB /* OVR_Color.h */, + 06C414ED17EA2EC700B02BEB /* OVR_ContainerAllocator.h */, + 06C414EE17EA2EC700B02BEB /* OVR_File.cpp */, + 06C414EF17EA2EC700B02BEB /* OVR_File.h */, + 06C414F017EA2EC700B02BEB /* OVR_FileFILE.cpp */, + 06C414F117EA2EC700B02BEB /* OVR_Hash.h */, + 06C414F217EA2EC700B02BEB /* OVR_KeyCodes.h */, + 06C414F317EA2EC700B02BEB /* OVR_List.h */, + 06C414F417EA2EC700B02BEB /* OVR_Log.cpp */, + 06C414F517EA2EC700B02BEB /* OVR_Log.h */, + 06C414F617EA2EC700B02BEB /* OVR_Math.cpp */, + 06C414F717EA2EC700B02BEB /* OVR_Math.h */, + 06C414F817EA2EC700B02BEB /* OVR_RefCount.cpp */, + 06C414F917EA2EC700B02BEB /* OVR_RefCount.h */, + 06C414FA17EA2EC700B02BEB /* OVR_Std.cpp */, + 06C414FB17EA2EC700B02BEB /* OVR_Std.h */, + 06C414FC17EA2EC700B02BEB /* OVR_String.cpp */, + 06C414FD17EA2EC700B02BEB /* OVR_String.h */, + 06C414FE17EA2EC700B02BEB /* OVR_String_FormatUtil.cpp */, + 06C414FF17EA2EC700B02BEB /* OVR_String_PathUtil.cpp */, + 06C4150017EA2EC700B02BEB /* OVR_StringHash.h */, + 06C4150117EA2EC700B02BEB /* OVR_SysFile.cpp */, + 06C4150217EA2EC700B02BEB /* OVR_SysFile.h */, + 06C4150317EA2EC700B02BEB /* OVR_System.cpp */, + 06C4150417EA2EC700B02BEB /* OVR_System.h */, + 06C4150517EA2EC700B02BEB /* OVR_Threads.h */, + 06C4150617EA2EC700B02BEB /* OVR_Timer.cpp */, + 06C4150717EA2EC700B02BEB /* OVR_Timer.h */, + 06C4150817EA2EC700B02BEB /* OVR_Types.h */, + 06C4150917EA2EC700B02BEB /* OVR_UTF8Util.cpp */, + 06C4150A17EA2EC700B02BEB /* OVR_UTF8Util.h */, + ); + path = Kernel; + sourceTree = ""; + }; + 06C4151517EA2EC700B02BEB /* osx */ = { + isa = PBXGroup; + children = ( + 06C4151617EA2EC700B02BEB /* OVR_OSX_DeviceManager.cpp */, + 06C4151717EA2EC800B02BEB /* OVR_OSX_DeviceManager.h */, + 06C4151817EA2EC800B02BEB /* OVR_OSX_HIDDevice.cpp */, + 06C4151917EA2EC800B02BEB /* OVR_OSX_HIDDevice.h */, + 06C4151A17EA2EC800B02BEB /* OVR_OSX_HMDDevice.cpp */, + 06C4151B17EA2EC800B02BEB /* OVR_OSX_HMDDevice.h */, + 06C4151C17EA2EC800B02BEB /* OVR_OSX_SensorDevice.cpp */, + 06C4151D17EA2EC800B02BEB /* OVR_ThreadsPthread.cpp */, + ); + path = osx; + sourceTree = ""; + }; + 06C4153617EA2EC800B02BEB /* Util */ = { + isa = PBXGroup; + children = ( + 06C4153717EA2EC800B02BEB /* Util_LatencyTest.cpp */, + 06C4153817EA2EC800B02BEB /* Util_LatencyTest.h */, + 06C4153917EA2EC800B02BEB /* Util_MagCalibration.cpp */, + 06C4153A17EA2EC800B02BEB /* Util_MagCalibration.h */, + 06C4153B17EA2EC800B02BEB /* Util_Render_Stereo.cpp */, + 06C4153C17EA2EC800B02BEB /* Util_Render_Stereo.h */, + ); + path = Util; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 06C414C617EA2E0000B02BEB /* oculus_test1 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 06C414D017EA2E0000B02BEB /* Build configuration list for PBXNativeTarget "oculus_test1" */; + buildPhases = ( + 06C414C317EA2E0000B02BEB /* Sources */, + 06C414C417EA2E0000B02BEB /* Frameworks */, + 06C414C517EA2E0000B02BEB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = oculus_test1; + productName = oculus_test1; + productReference = 06C414C717EA2E0000B02BEB /* oculus_test1 */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 06C414BF17EA2E0000B02BEB /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Mutant Stargoat"; + }; + buildConfigurationList = 06C414C217EA2E0000B02BEB /* Build configuration list for PBXProject "oculus_test1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 06C414BE17EA2E0000B02BEB; + productRefGroup = 06C414C817EA2E0000B02BEB /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 06C414C617EA2E0000B02BEB /* oculus_test1 */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 06C414C317EA2E0000B02BEB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 06C414DB17EA2E9B00B02BEB /* camera.cc in Sources */, + 06C414DC17EA2E9B00B02BEB /* main.cc in Sources */, + 06C414DD17EA2E9B00B02BEB /* opengl.cc in Sources */, + 06C414DE17EA2E9B00B02BEB /* vr.cc in Sources */, + 06C4154917EA2EC800B02BEB /* OVR_Alg.cpp in Sources */, + 06C4154A17EA2EC800B02BEB /* OVR_Allocator.cpp in Sources */, + 06C4154B17EA2EC800B02BEB /* OVR_Atomic.cpp in Sources */, + 06C4154C17EA2EC800B02BEB /* OVR_File.cpp in Sources */, + 06C4154D17EA2EC800B02BEB /* OVR_FileFILE.cpp in Sources */, + 06C4154E17EA2EC800B02BEB /* OVR_Log.cpp in Sources */, + 06C4154F17EA2EC800B02BEB /* OVR_Math.cpp in Sources */, + 06C4155017EA2EC800B02BEB /* OVR_RefCount.cpp in Sources */, + 06C4155117EA2EC800B02BEB /* OVR_Std.cpp in Sources */, + 06C4155217EA2EC800B02BEB /* OVR_String.cpp in Sources */, + 06C4155317EA2EC800B02BEB /* OVR_String_FormatUtil.cpp in Sources */, + 06C4155417EA2EC800B02BEB /* OVR_String_PathUtil.cpp in Sources */, + 06C4155517EA2EC800B02BEB /* OVR_SysFile.cpp in Sources */, + 06C4155617EA2EC800B02BEB /* OVR_System.cpp in Sources */, + 06C4155717EA2EC800B02BEB /* OVR_Timer.cpp in Sources */, + 06C4155817EA2EC800B02BEB /* OVR_UTF8Util.cpp in Sources */, + 06C4155F17EA2EC800B02BEB /* OVR_OSX_DeviceManager.cpp in Sources */, + 06C4156017EA2EC800B02BEB /* OVR_OSX_HIDDevice.cpp in Sources */, + 06C4156117EA2EC800B02BEB /* OVR_OSX_HMDDevice.cpp in Sources */, + 06C4156217EA2EC800B02BEB /* OVR_OSX_SensorDevice.cpp in Sources */, + 06C4156317EA2EC800B02BEB /* OVR_ThreadsPthread.cpp in Sources */, + 06C4156417EA2EC800B02BEB /* OVR_DeviceHandle.cpp in Sources */, + 06C4156517EA2EC800B02BEB /* OVR_DeviceImpl.cpp in Sources */, + 06C4156617EA2EC800B02BEB /* OVR_JSON.cpp in Sources */, + 06C4156717EA2EC800B02BEB /* OVR_LatencyTestImpl.cpp in Sources */, + 06C4156817EA2EC800B02BEB /* OVR_Profile.cpp in Sources */, + 06C4156917EA2EC800B02BEB /* OVR_SensorFilter.cpp in Sources */, + 06C4156A17EA2EC800B02BEB /* OVR_SensorFusion.cpp in Sources */, + 06C4156B17EA2EC800B02BEB /* OVR_SensorImpl.cpp in Sources */, + 06C4156C17EA2EC800B02BEB /* OVR_ThreadCommandQueue.cpp in Sources */, + 06C4156D17EA2EC800B02BEB /* Util_LatencyTest.cpp in Sources */, + 06C4156E17EA2EC800B02BEB /* Util_MagCalibration.cpp in Sources */, + 06C4156F17EA2EC800B02BEB /* Util_Render_Stereo.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 06C414CE17EA2E0000B02BEB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + libovr/Include, + libovr/Src, + libovr/Src/Util, + libovr/Src/Kernel, + libovr/Src/OSX, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = ( + "-lvmath", + "-lGLEW", + ); + SDKROOT = ""; + }; + name = Debug; + }; + 06C414CF17EA2E0000B02BEB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + libovr/Include, + libovr/Src, + libovr/Src/Util, + libovr/Src/Kernel, + libovr/Src/OSX, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + OTHER_LDFLAGS = ( + "-lvmath", + "-lGLEW", + ); + SDKROOT = ""; + }; + name = Release; + }; + 06C414D117EA2E0000B02BEB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = ""; + }; + name = Debug; + }; + 06C414D217EA2E0000B02BEB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 06C414C217EA2E0000B02BEB /* Build configuration list for PBXProject "oculus_test1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 06C414CE17EA2E0000B02BEB /* Debug */, + 06C414CF17EA2E0000B02BEB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 06C414D017EA2E0000B02BEB /* Build configuration list for PBXNativeTarget "oculus_test1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 06C414D117EA2E0000B02BEB /* Debug */, + 06C414D217EA2E0000B02BEB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 06C414BF17EA2E0000B02BEB /* Project object */; +} diff -r 5a3ab7506c40 -r 3265970a7315 src/main.cc --- a/src/main.cc Wed Sep 18 17:26:38 2013 +0300 +++ b/src/main.cc Wed Sep 18 22:15:04 2013 +0300 @@ -2,12 +2,7 @@ #include #include #include -#include -#ifdef __APPLE__ -#include -#else -#include -#endif +#include "opengl.h" #include "vr.h" #include "camera.h" @@ -17,12 +12,20 @@ static void idle(); static void reshape(int x, int y); static void keyb(unsigned char key, int x, int y); +static void keyup(unsigned char key, int x, int y); +static void mouse(int bn, int st, int x, int y); +static void motion(int x, int y); +static void passive(int x, int y); static void sball_rotate(int rx, int ry, int rz); static bool parse_args(int argc, char **argv); static FlyCamera cam; static int width, height; static bool use_vr = false; +static bool mouselook = false; + +static bool keystate[256]; + int main(int argc, char **argv) { @@ -40,10 +43,11 @@ glutIdleFunc(idle); glutReshapeFunc(reshape); glutKeyboardFunc(keyb); + glutKeyboardUpFunc(keyup); + glutMouseFunc(mouse); + glutMotionFunc(motion); glutSpaceballRotateFunc(sball_rotate); - glewInit(); - if(!init()) { return 1; } @@ -55,6 +59,8 @@ static bool init() { + init_opengl(); // this must be first + glEnable(GL_DEPTH_TEST); glEnable(GL_LIGHTING); glEnable(GL_CULL_FACE); @@ -104,9 +110,17 @@ float lpos[] = {0, 60, 0, 1}; glLightfv(GL_LIGHT0, GL_POSITION, lpos); - glFrontFace(GL_CW); + /*glFrontFace(GL_CW); glutSolidTeapot(1.0); - glFrontFace(GL_CCW); + glFrontFace(GL_CCW);*/ + + glBegin(GL_QUADS); + glNormal3f(0, 1, 0); + glVertex3f(-10, -1, 10); + glVertex3f(10, -1, 10); + glVertex3f(10, -1, -10); + glVertex3f(-10, -1, -10); + glEnd(); glutSwapBuffers(); assert(glGetError() == GL_NO_ERROR); @@ -129,7 +143,65 @@ switch(key) { case 27: exit(0); + + case 'm': + mouselook = !mouselook; + if(mouselook) { + glutPassiveMotionFunc(passive); + glutSetCursor(GLUT_CURSOR_NONE); + glutWarpPointer(width / 2, height / 2); + } else { + glutPassiveMotionFunc(0); + glutSetCursor(GLUT_CURSOR_INHERIT); + } + break; } + + keystate[key] = true; + glutPostRedisplay(); +} + +static void keyup(unsigned char key, int x, int y) +{ + keystate[key] = false; + glutPostRedisplay(); +} + +static bool bnstate[32]; +static int prev_x, prev_y; + +static void mouse(int bn, int st, int x, int y) +{ + prev_x = x; + prev_y = y; + bnstate[bn - GLUT_LEFT_BUTTON] = st == GLUT_DOWN; +} + +static void motion(int x, int y) +{ + if(mouselook) { + // just call passive, it does what we need + passive(x, y); + } +} + +static void passive(int x, int y) +{ + // no need to test mouselook; this callback is only set when mouselook is enabled + int center_x = width / 2; + int center_y = height / 2; + + int dx = x - center_x; + int dy = y - center_y; + + if(!dx && !dy) { + return; + } + + cam.input_rotate(dy * 0.1, dx * 0.1, 0.0); + glutPostRedisplay(); + + glutWarpPointer(center_x, center_y); } static void sball_rotate(int rx, int ry, int rz) diff -r 5a3ab7506c40 -r 3265970a7315 src/opengl.cc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opengl.cc Wed Sep 18 22:15:04 2013 +0300 @@ -0,0 +1,29 @@ +#include "opengl.h" + +void init_opengl() +{ +#ifdef __GLEW_H__ + glewInit(); +#endif +} + +const char *strglerr(int err) +{ + static const char *errnames[] = { + "GL_INVALID_ENUM", + "GL_INVALID_VALUE", + "GL_INVALID_OPERATION", + "GL_STACK_OVERFLOW", + "GL_STACK_UNDERFLOW", + "GL_OUT_OF_MEMORY", + "GL_INVALID_FRAMEBUFFER_OPERATION" + }; + + if(!err) { + return "GL_NO_ERROR"; + } + if(err < GL_INVALID_ENUM || err > GL_OUT_OF_MEMORY) { + return ""; + } + return errnames[err - GL_INVALID_ENUM]; +} diff -r 5a3ab7506c40 -r 3265970a7315 src/opengl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opengl.h Wed Sep 18 22:15:04 2013 +0300 @@ -0,0 +1,71 @@ +#ifndef OPENGL_H_ +#define OPENGL_H_ + +#include + +#ifdef __APPLE__ +#include "TargetConditionals.h" + +#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR +/* iOS */ +#include +#include + +#define GL_CLAMP GL_CLAMP_TO_EDGE +#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES + +#undef USE_OLDGL + +#define GL_WRITE_ONLY GL_WRITE_ONLY_OES +#define glMapBuffer glMapBufferOES +#define glUnmapBuffer glUnmapBufferOES + +#else +/* MacOS X */ +#include +#include + +#define USE_OLDGL +#endif + +#else +/* UNIX or Windows */ +#include +#include + +#define USE_OLDGL +#endif + +#ifndef GL_RGB16F +#define GL_RGB16F 0x881b +#endif +#ifndef GL_RGBA16F +#define GL_RGBA16F 0x881a +#endif +#ifndef GL_RGB32F +#define GL_RGB32F 0x8815 +#endif +#ifndef GL_RGBA32F +#define GL_RGBA32F 0x8814 +#endif +#ifndef GL_LUMINANCE16F +#define GL_LUMINANCE16F 0x881e +#endif +#ifndef GL_LUMINANCE32F +#define GL_LUMINANCE32F 0x8818 +#endif + +#define CHECKGLERR \ + do { \ + int err = glGetError(); \ + if(err) { \ + fprintf(stderr, "%s:%d: OpenGL error 0x%x: %s\n", __FILE__, __LINE__, err, strglerr(err)); \ + abort(); \ + } \ + } while(0) + +void init_opengl(); + +const char *strglerr(int err); + +#endif // OPENGL_H_ diff -r 5a3ab7506c40 -r 3265970a7315 src/vr.cc --- a/src/vr.cc Wed Sep 18 17:26:38 2013 +0300 +++ b/src/vr.cc Wed Sep 18 22:15:04 2013 +0300 @@ -21,7 +21,7 @@ static bool init_ovr() { - LogMaskConstants log_level; + LogMaskConstants log_level = LogMask_All; // initialize Oculus SDK const char *logenv = getenv("VR_LOGLEVEL"); if(logenv) {