Skip to main content
Up and Coming
July 6, 2015

Display text

Hi,
Iam developing VR using unity platform with oculus sdk on samsung gear VR.

Now Iam able to make simple interaction on game objects.

How do i display text information when i click a game object.
Right now I display this using a gameobject with the information applied on it as a texture.
So in order to display the information, show/hide the game object.
Here the text is not crisp and clear to read.
So how do i make this appear as text itself. Any way to do this.

    6 replies

    Inspiring
    July 6, 2015
    Text will usually have to be larger in VR to remain legible.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    muralivAuthor
    Up and Coming
    July 7, 2015
    But the problem is whatever text element i put it along with the canvas appear in the scenview but it does not show up in the Gameview which is the OVRcamera view.
    Up and Coming
    July 7, 2015
    Cyber, other than making text bigger is there anything that can be done to make it more clearer? Making it bigger is a problem in that it crowds out other visual artifacts.
    Up and Coming
    July 12, 2015
    muraluv: try using Unity's GUI system and check the box that says "world space". Not sure about your setup or what you're trying to accomplish though, but it sounds like world space GUI is what you want?
    blazespinnaker2: Tinker with background color and alpha of the panel, try a different font, and use bold fonts. And don't keep your GUI up at all times if you can avoid it , it will get cluttered. Some GUI elements might have to become huge if you want the text to be readable.
    Rendering/Game engineer
    muralivAuthor
    Up and Coming
    July 13, 2015
    Hi Cyber,

    This is what iam trying to achieve.

    I have some objects in the scene. On clicking on each object, i show some description about it with an image.
    Now what i have done is i have put a plane object and applied the description part of it as texture.
    When an object is clicked i display the description which is a plane visibility and again on click will make it invisible.
    The problem here is the readbility of the text in the texture applied.
    So i just want to try this out with GUI text .

    THanks
    muralivAuthor
    Up and Coming
    July 24, 2015
    Hi Cyber

    I have the 3d scene setup and able to navigate with touchpad.
    I have few gameobjects clicking on which iam displaying popup text which are UIelements with a panel having text and image.

    Using the Crosshair3d.cs from the sdk samples in order to display the cursor.

    What happens is sometime when i go close to the text UI elements, the cursor suddenly disappear and after moving away getting back the cursor.
    Sometimes the cursor disappears and does not appear again.
    Can anyone please help me out.