Skip to content

Commit

Permalink
Added initial project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pk15950 committed Oct 9, 2018
1 parent bc7f6db commit 429d060
Show file tree
Hide file tree
Showing 94 changed files with 72,115 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
/vs/.vs/
/vs/BlenderXR_Fove/build/
/vs/BlenderXR_Oculus/build/
/vs/BlenderXR_SteamVR/build/
/vs/BlenderXR.VC.db
/vs/BlenderXR.suo
19 changes: 19 additions & 0 deletions CMakeLists.txt
@@ -0,0 +1,19 @@
cmake_minimum_required (VERSION 2.6)
project(BlenderXR_SteamVR)

macro(use_cxx11)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
endif()
else()
set (CMAKE_CXX_STANDARD 11)
endif()
endmacro(use_cxx11)

add_subdirectory(${PROJECT_SOURCE_DIR}/src)

set_target_properties (${PROJECT_NAME}
PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin/Linux/SteamVR"
)
60 changes: 60 additions & 0 deletions README.md
@@ -0,0 +1,60 @@
# BlenderXR
BlenderXR library to use Blender with common VR/AR hardware.
It supports Oculus Rift, HTC Vive, WindowsMR (via SteamVR), and Fove headsets.


## HOW TO USE:
Pre-built binaries are provided in the /bin/ folder.
Select the sub-folder of your respective VR device and place the files in your Blender folder (next to your blender.exe file).

Fove: /bin/Windows/Fove/

Oculus Rift: /bin/Windows/Oculus/

HTC Vive / WindowsMR: /bin/Windows/SteamVR/
/bin/Linux/SteamVR/ (Vive only)

## HOW TO BUILD:
Windows:
Visual Studio projects to build BlenderXR are provided in the /vs/ folder.

Linux:
Use the CMakeLists.txt provided in the main folder. Tested with gcc 7.3+ and clang 9.1+.

## COPYRIGHT/LICENSE:
The BlenderXR source code is copyright (c) 2018 MARUI-PlugIn (inc.)
and is made available under the GNU GENERAL PUBLIC LICENSE Version 3 (see: LICENSE file).


This repository includes the following third-party libraries in un-altered form.
The respective copy right holders rights and licensing terms apply.

### FoveSDK (v0.15.0)
/inc/FoveSDK_0.15.0/*
/lib/FoveSDK_0.15.0/*
/bin/Windows/Fove/FoveClient.dll
Copyright (c) 2016 FOVE, Inc.
https://www.getfove.com/developers/

### GLEW (v1.13.0)
/inc/glew_1.13.0/*
/lib/glew_1.13.0/*
Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002, Lev Povalahev
https://github.com/nigels-com/glew

### Oculus SDK / LibOVR (v1.26.0)
/inc/OculusSDK_1.26.0/*
/lib/OculusSDK_1.26.0/*
Copyright (c) Facebook Technologies, LLC and its affiliates.
https://developer.oculus.com/downloads/package/oculus-sdk-for-windows/
https://developer.oculus.com/licenses/sdk-3.4.1/

### openvr_1.0.13
/inc/openvr_1.0.13/*
/lib/openvr_1.0.13/*
/bin/Windows/SteamVR/openvr_api.dll
/bin/Linux/SteamVR/libopenvr_api.so
Copyright (c) 2015, Valve Corporation
https://github.com/ValveSoftware/openvr/blob/master/LICENSE
Binary file added bin/Linux/SteamVR/libBlenderXR_SteamVR.so
Binary file not shown.
Binary file added bin/Linux/SteamVR/libopenvr_api.so
Binary file not shown.
Binary file added bin/Windows/Fove/BlenderXR_Fove.dll
Binary file not shown.
Binary file added bin/Windows/Fove/FoveClient.dll
Binary file not shown.
Binary file added bin/Windows/Oculus/BlenderXR_Oculus.dll
Binary file not shown.
Binary file added bin/Windows/SteamVR/BlenderXR_SteamVR.dll
Binary file not shown.
Binary file added bin/Windows/SteamVR/openvr_api.dll
Binary file not shown.

0 comments on commit 429d060

Please sign in to comment.