|  | 
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  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. | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Use <hmd>.getHUD() to get the root HUD node of the Oculus and then add your objects to that.
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			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.
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			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. | 
|  | 
| 
 | 
 | 
|  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 |