Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d gui #40

Open
DuFF14 opened this issue Apr 8, 2015 · 4 comments
Open

3d gui #40

DuFF14 opened this issue Apr 8, 2015 · 4 comments

Comments

@DuFF14
Copy link
Member

DuFF14 commented Apr 8, 2015

It would be great to have a 3d gui menu component similar to OVRMainMenu in the Oculus SDK for displaying FPS and other stats/configuration information.

@peroht
Copy link

peroht commented Feb 7, 2016

I've done a rough csharp UI Canvas implementation for 5.3.1f1. The same gameobject hierachy does not seem to work in 5.2.1f1.
It renders to VRSurface0 (meaning left eye only). How can I make it render to the right eye as well?

Is this the correct repo to fork and add to?

@DuFF14
Copy link
Member Author

DuFF14 commented Feb 10, 2016

Yes, this is the correct repo. If it's only visible in one eye, does that mean the UI Canvas is in camera space and not world space? If it's in world space, which I think is a best practice for VR, it should be visible to both eyes. Support for multiple layers, such as a UI layer, is something we've talked about adding to RenderManager. If you do need a screen-space / UI overlay layer, implementing (or waiting for) that feature in RenderManager might be the best solution.

@peroht
Copy link

peroht commented Feb 11, 2016

Yes i did it in camera  space. I'll change that and see if I can expand it a little. Is it OK if I use a prefab? (It's not a self contained source that builds up the whole UI by itself now).Or should I try and do it through scripting to keep the amount of prefabs low?

-------- Originalmeddelande --------
Från: Greg Aring [email protected]
Datum: 2016-02-10 21:31 (GMT+01:00)
Till: OSVR/OSVR-Unity [email protected]
Kopia: Peter Thor [email protected]
Rubrik: Re: [OSVR-Unity] 3d gui (#40)

Yes, this is the correct repo. If it's only visible in one eye, does that mean the UI Canvas is in camera space and not world space? If it's in world space, which I think is a best practice for VR, it should be visible to both eyes. Support for multiple layers, such as a UI layer, is something we've talked about adding to RenderManager. If you do need a screen-space / UI overlay layer, implementing (or waiting for) that feature in RenderManager might be the best solution.


Reply to this email directly or view it on GitHub.

@DuFF14
Copy link
Member Author

DuFF14 commented Feb 14, 2016

I think a prefab would be good. Looking forward to seeing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants