WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-01-2014, 04:12 PM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
Question 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.
Reply With Quote
  #2  
Old 07-01-2014, 05:07 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Use <hmd>.getHUD() to get the root HUD node of the Oculus and then add your objects to that.
Reply With Quote
  #3  
Old 07-01-2014, 05:12 PM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
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.
Reply With Quote
  #4  
Old 07-09-2014, 06:48 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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.

Last edited by Jeff; 07-09-2014 at 06:53 PM.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oculus Rift Drift teklab Vizard 20 04-01-2016 07:57 AM
Oculus <hmd>.addMessagePanel mshukun Vizard 2 06-16-2014 07:06 AM
Oculus Rift Fullscreen teklab Vizard 6 05-21-2014 06:11 AM
oculus rift and inertia cube interaction problems apboone Vizard 4 03-13-2014 10:45 AM
Html and vizlink on Oculus HMD mshukun Vizard 3 10-30-2013 09:56 AM


All times are GMT -7. The time now is 06:06 PM.


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