WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   GUI when using HMD Oculus (https://forum.worldviz.com/showthread.php?t=5088)

fabioped 07-01-2014 04:12 PM

GUI when using HMD Oculus
 
Hi!

How can I show rectangles and 2D text when using the oculus rift hmd support?

I need to show my own 2D GUI created using quads/text over ORTHO layer.

Jeff 07-01-2014 05:07 PM

Use .getHUD() to get the root HUD node of the Oculus and then add your objects to that.

fabioped 07-01-2014 05:12 PM

That means I'm adding objects to world-space and not ortho/screen layers right? It would be quite harder to get their positioning right on window X/Y.

Jeff 07-09-2014 06:48 PM

Yes, the HUD node is added in world coordinates. You can place objects at a distance comfortable for viewing and then move vertically/horizontally as needed.


All times are GMT -7. The time now is 05:49 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC