Monday, May 16, 2016

Update 20160523
Forgot to update this at the end of the week. Busy with work. :)

Turns out I needed to kick the compositor right after submitting both texture refs ( I output a single target, but it updates in one pass instead of two ). After that I don't have Dutch orange as a background anymore. I should also clarify that my demo doesn't need any user setup to run with Vive at all once the driver config steps are done once. Unlike ye olde DK2 setup where you need to HUP the ovr daemon, or older SteamVr vrserver --keepalive.

Sadly as noted before the UV support for single target appears to not work under Linux SteamVR in the sense it applies the values incorrectly by splitting the single target twice. The same test in Windows SteamVR outputs as expected. Also the SteamVR compositor tends to have a window title as well. I could likely hack around the title issue using a WM hint mutation program like DevilsPie2 for GNOME if needed.

It almost works, rendering and compositing anyway...
For the curious this is as far as I got SteamVR ( beta ) and hellovr running under Linux at present. This is using my fork of OpenVR.

Right now my game is just drawing orange to the compositor, so stay tuned. I might hack it up this week if I get enough time. Before this was all extended mode hacks under Linux. :3

Poorly written up dump of what I had to do to get beta running
Shared in the hopes it helps someone. I'm not sure why I had to manually create json files and add paths, so beware only tested on my box. Also I may have forgot some change I did locally. :3

If you're using my OpenVR fork remember hellovr searches for the PNG in the '..' path. Also note if you copy your lighthousedb.json files from a Windows machine they should auto downgrade to the older SteamVR version. I didn't do an strace to see if some files such as chaperone_info.vrchap are even read, but be aware they exist on Windows SteamVR.

After trolling the steam forums a few days ago with this:
https://plus.google.com/+TerryHendrixII/posts/F6PR4mprHrD

I notice this today:
http://www.vronlinux.com/articles/adventures-with-openvr-and-the-vive-on-linux.8

Hopefully have an update at the end of the week. :)

First time I tested on an HMD in a while, and I notice the new deferred water isn't setup correctly. Pretty handy to have a dynamic RT browser.

Bonus for those wondering there is a branchless way to do screen-space pass UVs for single target + serialized | two target parallel. Blogger makes it painful to post source... sorry if it screws it up after I hit update. :)

Sunday, May 15, 2016

I switched over to IMGUI a while back for a debug UI. Currently I have an accordion-style property editor w/ inline material editing et al. Not as fully featured as the HTML interface, but easier for blokes with just laptops. :3