cancel
Showing results for 
Search instead for 
Did you mean: 

How to render Text in oculus rift?

JuneCrescent
Honored Guest
Hello

I'm using DK2 and I want to make a simple HUD in Oculus rift.

In HUD, I want to plot some text such as pushing spacebar than count number will increase

Is there any tutorial or example code??

1 ACCEPTED SOLUTION

Accepted Solutions

Ybalrid
Expert Protege
Directly in code you'll need to render the text to a texture, then put it in 3D space (or use the layer system of the Oculus Compositor)
CV1+Touch; Running on GTX980 - 4770K - 32GB DDR3 Developer at LIV

View solution in original post

3 REPLIES 3

Ybalrid
Expert Protege
What engine are you using?
CV1+Touch; Running on GTX980 - 4770K - 32GB DDR3 Developer at LIV

JuneCrescent
Honored Guest
I don't using engine, I'm just using exmaple code(OculusRoomTiny) 

Ybalrid
Expert Protege
Directly in code you'll need to render the text to a texture, then put it in 3D space (or use the layer system of the Oculus Compositor)
CV1+Touch; Running on GTX980 - 4770K - 32GB DDR3 Developer at LIV