Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ScaryG's avatar
ScaryG
Honored Guest
12 years ago

Using NGUI with the Rift

I wrote up a quick tutorial on using NGUI with the Rift after setting it up for myself the other day. It's not complicated but there are a few steps so I thought it might be helpful to collect them all in one place.

http://www.beowulf99.com/blog/?p=1014

Hope it helps someone!

8 Replies

Replies have been turned off for this discussion
  • Excellent tutorial! As an NGUI user this is going to be really useful :)

    I suppose an extra step we could take is to package up a prefab with the rendering plane and shaders and distribute that. Then a user could just add the prefab to the right camera or player object, wire up the NGUI camera, and be good to go.

    On a side note, I was not aware of Sublime Text. It looks pretty neat :)
  • ScaryG's avatar
    ScaryG
    Honored Guest
    Thanks!

    Good idea about providing a package file. Not sure about the legality of distributing the NGUI shaders though, I'll have to ask on the support forum.

    Sublime Text is amazing! I've been using it for about a year now. It's almost perfect... fast, massively configurable, cross platform, keyboard-centric without being obtuse, very fair license. If it had better C++ completion it WOULD be perfect.
  • Thanks for the tip on the NGUI. I use NGUI myself with Unity. So this Rift info will come in handy.

    You should check out WebStorm by JetBrains.... its a great IDE.

    WadeWatts - Gregarious Simulation Systems

  • I simply used one of the NGUI sample scenes & then added the OVR camera package.

    This works well but I find I can only click buttons in the left lens.
  • Stardog's avatar
    Stardog
    Honored Guest
    Nice tutorial. I have some smearing issues with an animated widget. Does anyone know if it's fixable?
  • smx's avatar
    smx
    Honored Guest
    If I use the rendertexture in combination with ngui I encounter smearing as well, for example with the colored slider.
  • I have the same issue as Mickman, anyone have a fix for this?
    It works really well except for input issues : /
  • m0rgul's avatar
    m0rgul
    Honored Guest
    Followed your tutorial, nice, easy and sweet. Now my UI is projected onto a plane, it looks nice and all...but I can't click the buttons in any way... What have I messed up? Or is there some other things I need to do in order to be able to interact with NGUI elements (which are plenty - buttons, sliders, etc)