Hotrian / OVRdrop-Public

Public issue/feature tracker for OVRdrop
103 stars 1 forks source link

Request: Ability to indicate location of a chair or other stationary real world objects in-game #69

Open PaulSlocum opened 5 years ago

PaulSlocum commented 5 years ago

Mostly I'd like a way to show in-game where my stationary chair is located. Even just a primitive outline of a chair-like object would work, but it would be ideal if various chair models and other object models were available. Also would be nice to be able to import custom 3D models.

Hotrian commented 5 years ago

This would work great until you start a game and OVRdrop becomes a true Overlay, at which point it can be a lot more confusing where it is as it will always draw on top of game geometry. The Overlay itself is also a flat plane, and drawing 3d geometry like this is more complex than it sounds.

I’ll look into it but I wouldn’t get my hopes up.

Hotrian commented 5 years ago

To clarify (my GitHub client doesn’t let me edit my comments..) the main problem is the Overlay will always draw on top of all game geometry because SteamVR does not receive depth information from the game. This then becomes confusing when nothing (not even your hands) draws in front of the 3d model no matter how far away it is, and doesn’t feel as nice as you’d think.

PaulSlocum commented 5 years ago

Thanks for the response. I was primarily imagining a semi-transparent wire frame of the chair, kinda like the chaperone indicator. It seems like this would not be very intrusive despite being an overlay.

Hotrian commented 5 years ago

A Wireframe or Transparent model probably would work better. I messed around with 3d models as Overlays before and while it works fine it just feels wrong because they don't blend with the scene depth, but a wireframe model would mitigate most of the discomfort.

It still wouldn't work perfectly of course because it can't be occluded, which will lead to complaints haha, but I'll check into it

PaulSlocum commented 5 years ago

As I think about it, even just having the ability to add wireframe rectangles to the VR space and setting their location and opacity/brightness/color would be enough to basically do what I need. Then I can at least indicate where my table top and seat/back of chair are located.