Coder Social home page Coder Social logo

3d gui about osvr-unity HOT 4 OPEN

osvr avatar osvr commented on July 29, 2024
3d gui

from osvr-unity.

Comments (4)

peroht avatar peroht commented on July 29, 2024

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?

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

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.

from osvr-unity.

peroht avatar peroht commented on July 29, 2024

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.

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

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

from osvr-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.