svalver / ImguiVR

Demo code for using Imgui with OpenVR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C 51.3%Language:C++ 45.1%Language:C# 2.3%Language:Objective-C 0.4%Language:Objective-C++ 0.4%Language:GLSL 0.3%Language:CMake 0.2%Language:Makefile 0.0%Language:Batchfile 0.0%Language:Shell 0.0%