Skip to content

natevm/ImguiVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImguiVR

Demo code for using Imgui with OpenVR

ImguiVR uses OpenVR, OpenGL and ImGui to implement 3D user interfaces for virtual reality applications. The current sample code demonstrates

A simple UI on a quad that is attached to the controller (but can be pinned in 3d space) and multiple tabs. The tabs are implemented by creating multiple ImGui contexts and rendering each to a separate texture.

A TiltBrush-like UI on a cube. The left controller rotates the cube, and the right controller is a pointer.

Features that are currently working: Haptic feedback: vibration when mousing over UI items InputText: summons a virtual keyboard (must be running SteamVR in the background) Scrolling: right controller emulates mouse scroll wheel Screenshots : get written to the SteamVR user data directory

About

Demo code for using Imgui with OpenVR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 50.2%
  • C 46.3%
  • C# 2.0%
  • CMake 0.5%
  • Objective-C 0.4%
  • Objective-C++ 0.3%
  • Other 0.3%