Skip to content

branchpanic/raylib-openvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raylib-openvr

Write VR games in C! This project adds OpenVR support to raylib using the OpenVR C API. This project contains examples, documentation, and issue tracking while dhsavell/raylib (submoduled as raylib/) contains the raylib fork.

Raylib-openvr is still in a prototype state. It exposes tracking information for the HMD and two controllers, and renders to a device using raylib's existing stereo rendering facilities.

See the examples/ directory for some work-in-progress examples using the fork.

Getting Started

Developing raylib-openvr

  • Using vcpkg, install openvr
  • Clone this repository recursively
  • Work on examples in examples/ and raylib code in the submodule

Using raylib-openvr (CMake)

  • Understand that this project is still a work-in-progress!
  • Using vcpkg, install openvr
  • Clone or submodule dhsavell/raylib into your project
    • Ensure you have checked out the openvr branch
    • Using the source is recommended as the project is constantly being updated
  • Use add_subdirectory to include it in your build
    set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
    add_subdirectory("raylib")
    target_link_libraries(yourproject raylib)  

About

[WIP] Testing ground for raylib OpenVR support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages