Blender Git Commits

Blender Git "HMD_viewport" branch commits.

Page: 10 / 13

April 10, 2016, 17:57 (GMT)
Automate selecting HMD device

This automates setting of HMD device UserPref option a bit, so that it's ready to go without manual adjustments.
We use the last device plugged in on startup (if one is available). On runtime, plugging in a device makes it active if 'None' was previously selected in the UserPref option.
Saving HMD in UserPrefs should also be supported, but can't test.
Also removes EVT_HMD_DEVICENUM_CHANGE and version patch, they're not needed anymore.
April 10, 2016, 17:17 (GMT)
Send an event when a HMD was plugged in/out

It's not used for now, will commit separately.
April 10, 2016, 13:50 (GMT)
More minor cleanup
April 10, 2016, 00:23 (GMT)
Minor cleanup
April 10, 2016, 00:13 (GMT)
Fix crash opening UserPrefs on some systems.
April 9, 2016, 23:42 (GMT)
Merge branch 'master' into HMD_viewport
April 9, 2016, 23:40 (GMT)
Cleanup & fixes in GHOST_OpenHMDManager

Fix crash opening UserPrefs->System with HMD session running, fix OpenHMD context being re-created on each redraw of UserPrefs->System, get rid of m_available (can use m_device NULL check instead), other minor cleanup.
April 6, 2016, 14:41 (GMT)
- Fixed getting device information for the user preferences
- Defaulting to device 0 in openhmd which is the last plugged in (will fallback on Dummy Device)
March 29, 2016, 00:19 (GMT)
Add assert to ensure HMD view is always fullscreen
March 28, 2016, 23:58 (GMT)
Cleanup: Unused variable/unused value
March 28, 2016, 23:42 (GMT)
Add build option WITH_INPUT_HMD

If we later want to support other drivers aside from OpenHMD, we only want OpenHMD to work at the low GHOST level. The new option is for the higher, driver independent level.
Since currently only OpenHMD is supported, I added a compile warning for the case HMD input is enabled and OpenHMD is disabled. Also added a compile error for the case OpenHMD is enabled and HMD input is disabled.

This means we now have 3 HMD build options:
* WITH_INPUT_HMD - General HMD support
* WITH_OPENHMD - OpenHMD driver support
* WITH_OPENHMD_DYNLOAD - Dynamic runtime OpenHMD deps loading

Actually, _INPUT_HMD isn't totally correct since it does more than just input, but wanted to stick to naming conventions.
March 28, 2016, 22:00 (GMT)
Merge branch 'master' into HMD_viewport
March 28, 2016, 21:51 (GMT)
Fix compiling with WITH_OPENHMD disabled
March 28, 2016, 21:40 (GMT)
Fix reading HMD window from file causing crash on session start
March 28, 2016, 21:02 (GMT)
Some hacks to disallow toggeling out of fullscreen in an HMD window
March 28, 2016, 19:38 (GMT)
Remove unused storage for lens distortion shader

Also removes unneeded button from UI and unneeded RNA defines.
March 28, 2016, 19:13 (GMT)
Fix memory leak in lens distortion shader

Also, the shader itself wasn't drawing previously, which it does now (but still incorrect).
March 28, 2016, 18:55 (GMT)
Sync Cycles UI code
March 28, 2016, 18:50 (GMT)
Option for HMD view lens distortion shader

Enabled by default. Note that shader is currently broken though.
March 28, 2016, 17:09 (GMT)
Fix HMD session not ended correctly when closing HMD view during session
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021