ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.01k stars 1.27k forks source link

Idea: The ability to save the active world scale setting in memory without wtiting to disk #1835

Open BOLL7708 opened 1 month ago

BOLL7708 commented 1 month ago

User story: As a tools maker I want to be able to update the world scale frequently without digging a hole in my SSD, this so I can animate it for Twitch channel rewards.

Here are examples on how I animate the play space using the in-memory working set, I think the headset went to sleep which caused a hiccup which is otherwise not happening when wearing it, but it shows what I am doing in any case.

Due to it being possible to edit the ChaperoneSetup in memory this is a viable thing to do. To my knowledge, the other SteamVR settings are not possible to edit in memory alone. It would be cool if I could update the world scale value without committing it to disk, so I could indeed use my own tools to animate changes of it. It would also save me from accidentally save the setting between sessions.

That's about it! I know this is far fetched, but thanks in any case for having such open APIs so I can do funny things like this 🀣 This week I published the animation feature in my Twitch bot using OpenVR2WS and I look forward to what crazy stuff they can hopefully come up with πŸ˜„ Cheers!

BOLL7708 commented 1 month ago

Oh yeah I also use things like hmdDisplayColorGainR to affect the color in the headset for notifications πŸ˜… would be great to be able to just reset the working set for settings after a session to remove any remaining settings set through the API, but I'm guessing a lot is hanging on monitoring the settings file and apply things as it changes 😌